The Anatomy of a Web Page

The html for a web page should be set up as follow:

<<>!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"<>>



<<>title>(name of your page here)<<>/title<>>

<<>meta name=""keyword" content="(put words that will help a search engine find your page here)"<>>

<<>meta name="description" content="(put a description of your page here, up to thirty word is good)"<>>


<<>body<>>(put your html, images, sound, etc. that you need to build your page here)




The <<>!DOCTYPE tag identifies your page as an html document and helps your browser to determine how the page was written and helps it to interpret the html document version so it will display properly. It is mandatory on all html documents (pages).

The <<>html<>> tag encloses everything in your document except the <<>!DOCTYPE tag. The <<>html<>> tag must be closed with the <<>/html<>> and must be the last tag on your html document (page). The <<>html<>> tag and the <<>/html<>> tag are mandatory on all html documents (pages).

The <<>head<>> tag is what most browsers use to identify and and load your page. It is important because it has information about the page that does not appear within the browser window. The <<>head<>> tag must be closed with the <<>/head<>> tag after you have put in all your information. Refer to the above html structure for proper placement. The <<>head<>> and the <<>/head<>> tag should be used on all of your html documents (pages).

The <<>title tag<>> is required by the html specification to apply the tile you want to use on your document (page). It also appears in the status bar when your page is being viewed and makes it easier for people to find you on the internet. The <<>title<>> tag must be closed with <<>/title<>> after you've written your title.

The meta tags provide more information about your document (page). They make it easier for search engines to find your documents (pages) and categorize them. They are not necessary but will improve your chances of being found if you use them.

The <<>/ head<>> tag must be used to close the above tags.

The <<>body<>> tag is used to enclose all the information you put on your page. It must be closed with the <<>/body<>> tag and should appear just above your closing <<>/html<>> tag. The <<>body<>> tag and the <<>/body<>> tag are mandatory on all html documents (pages).

Some of the web site editors automatically put some of the tags in for you. BUT you should get in the habit of writing the html codes when you write your html documents (pages). You need to follow the above codes for your page to work properly. Happy building and have lots of FUN!!!

Copyright 2000