HTML Sections

HTML documents are platform independent. They can be moved from one computer system to another without affecting the contents. All HTML documents should contain the following tags. These tags are the bare minimum that is required to have a web page display correctly.

HTML

This tag should be at the begining and ending of all html documents. If this tag is not used, the browser may or may not display the page properly.

If this tag <HTML> is not used, then any markup tags used in the document may be displayed as text.

Head

This section provides introductory page formatting information or is like a quick reference for web viewers and other applications that access HTML files. The head section will at a minimum contain the page title and can establish relationships with HTML documents and file directories.

The authors name can be inserted into the head section. This information along with other META commands will not be diplayed unless document information has been selected from the browser.

The code is: <META NAME="Author" CONTENT="Dave Rigney">.
This code shows that I wrote this page.

To see an example of this in Netscape, click on View then Document Source. This is a good way to learn how someone else has done a web page. If you find some page that has an interesting "effect", check it out by looking at the document source to find out how it is done.

Title

The title section contains the page title. This title will be displayed on the web browser screen, usually at the top. This section should be short and to the point. The html file name has no relationship with the title tag. A good rule of thumb is the title should be one phrase or no more than 60 characters in length.

Body

The body is the main part of the web page. All the text and graphics that will be displayed are contained here. The page will usually contain a section at the at the bottom that shows who the author of the page is, when the page was written and the last update for this page. See required information for details on this.

Most web pages have an email link here that will allow the user to send email to the author of the page. This could be a straight email link (the web masters name linked to a mailto: tag) or contain both text and graphics (with either or both being used to create the email link) like at the bottom of this page.

Home