Web Authoring: Document Tags

Document Tags


HTML documents have a fairly simple structure. Each document is divided into two sections: a "head" and a "body." The head contains information about the document, while the body contains the document itself.

This division into sections is marked using HEAD and BODY tags, as follows:

<HEAD>

document header info goes here....

</HEAD>
<BODY>

the body of the document goes here...

</BODY>

Only certain tags are supposed to go into each section. For our purposes, the only tag that goes in the HEAD section is the TITLE tag (this is a paired tag). All of the rest of the tags we will discuss go only in the BODY. The closing BODY tag ("</BODY>") should be the last thing in an HTML document.


 Home  Next  Back
SDR, 11 Jun 1995.