Off-Topic => Really Old Stuff => Archive => HTML & DHTML => Topic started by: PyroAlchemist on October 07, 2005, 09:11:31 PM
Title: Html Lessons From The Pyroguy
Post by: PyroAlchemist on October 07, 2005, 09:11:31 PM
Ever want to make your own site from scratch without having to use a crummy WYSIWYG?(what you see is what you get) Well after reading my lessons you may well be on your way. Depends on how much you paid attention :p Anyway to begin.
---------------------------------------------- Materials: All you need is wordpad and a computer. ----------------------------------------------
All "coding" must go between these <>. It lets it know that you are wanting to perform a special function. After declaring you must end it like this >
A little example.
My first webpage
Hello world.
Time to break it down.
lets it know that is the webpage language your using. Another is PHP but I know nothing about that :p
lets it know that thats the head of the webpage. tells it the name of webpage you are creating. lets it know that you are working on the body of the site. Hello World - The text that will appear.
Well there you go. Basics.
Title:
Post by: Osmose on October 07, 2005, 11:06:34 PM
*NOTE: As for making the actual page, simply type up the HTML in Notepad, go to File->Save, make sure the filetype at the bottom dropdown box is "All", and save the file as filename.html
**NOTE: Some tags can only be placed within another tag. An example of this is in the above example: The tag can only be placed within tags.
To make your webpage fancy, you'll want to format your text. The following are a few common tags used for such a purpose. Unless stated otherwise, all text affected will be place between a beginning and end tag.
- Makes text bold. - Italicizes text. - Underlines text. - Puts a [STRIKE]line through[/STRIKE] your text.
- Sets text at a large header size.
- Sets text at a small header size.
- DOES NOT NEED A CLOSING TAG! Will move text to the next line, as if you hit the enter button.
- Preformats text, so that you don't have to use the tag.
Title:
Post by: AsakuraHao2004 on October 07, 2005, 11:30:10 PM
Also note that the tags moose posted don't have to be closed in the order they're opened, as an HTML book lied to me about.
Title:
Post by: Osmose on October 07, 2005, 11:43:00 PM
The book didn't lie. Closing them in a random order is bad coding and will screw up older browsers. The only reason it works now is because most browsers realised that people will be lazy and protected themselves against it. But it can still cause nasty errors in some situations.
It is best to close them in the order you open them. That is, Lard
Title:
Post by: PyroAlchemist on October 08, 2005, 03:18:16 PM
Yah. Well I was going to cover that next but you've seemed to get it. Guess I'll get started on backgrounds, links, and images. :D