Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

<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 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. Published under the terms of the Open Content License Design by Interspire