Creating Basic Tags

When you start entering HTML code, it's best to identify  the document's  main components. First you enter tags that indentify the document's key sections, and give it a title.

Type the following lines of code to start:

<HTML>
<HEAD>
<TITLE> Page Title Here </TITLE>
</HEAD>

<BODY>
</BODY>

</HTML>

The opening and closing HTML tags bracket all the remaining code in the document. This indicates to a browser that the page  is written in HTML.  While you don't have to include this  tag, it is necessary if the file is to be read by another SGML application.  Moreover it is considered "good style" to include it.

The <HEAD> tag is where you enter information about the Web page.  One such piece of information is the title of the page. The <TITLE> tag includes a title that names the page.  This title will appear in the title bar of the Web browser window.

Finally, the portion of the document that Web users  will see is contained within the <BODY> tags. At this point, the page is blank with no text or graphics. You'll add those later.  The HEAD and BODY tags are also not strictly required, but you should include them to better organize your document and make it code more readable to others.


previous page back to main help page next page