HTML <HEAD>

Usage Recommendation
thumbs up Use it.

illustrates the two sections in HTML: HEAD and BODYWithin <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 Makes 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 Makes 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

<BODY ...> >