Thursday, April 26, 2007

The Basic Layout of an HTML document

At the very least, a HTML document or webpage will contain the following tags.


The very opening tag of html tells a browser this is an html document to interpret. Remember HTML just tells the browser how to display the document. Other important tags that might be present include for bold, for italics, for the background color of the document, etc. You can find all the tags by doing a search on Google for "HTML tags".

Next, we have the head tags which indicate the header section of the document. If you were to use some javascript, some code would probably be placed in between the head tags.

Then we have the title tags. Whatever is put between these will be the title of the document and be shown at the top of your browser.

In your body tags is the actual meat and potatoes of the page or document. Here is where you will be putting text, images, table, etc. that will represent what is displayed on the actual page.

Finally, we having the closing html tag that says this is the end of this page or document. HTML is alot of fun.

You can easily make a page using Notepad, Word, or any text editor. My favorite text editor is Editplus. Very easy to use and yet very powerful for HTML editing.

Have fun discovering HTML and all the tags you can use to make great looking web pages.

No comments: