<HEAD>
| Usage Recommendation |
use it |
Within <HTML>,
the document has two sections to it:
<HEAD>
and <BODY ...>.
<HEAD>
is like the cover page of the document. Just as the cover page of a book contains information about the book (such as the title), the <HEAD> section contains information about the document. This information is communicated through the <TITLE> tag (which is required) and the
<LINK ...> and <META ...> tags.
A simple document might look like this:
| this code |
produces this |
<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
</HEAD>
<BODY>
<H1>My Home Page</H1>
Hi There!
</BODY>
</HTML>
|
this page |
A more slightly complicated document which uses <LINK ...> and
<META ...> might look like this:
| this code |
produces this |
<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
<LINK REL=HOME HREF="/tags/index.html">
<META NAME=AUTHOR CONTENT="Ben Hall">
</HEAD>
<BODY>
<H1>My Home Page</H1>
Hi There!
</BODY>
</HTML>
|
this page |
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050
More information can be found at the
InMotion Hosting Main Site
|
|
|