Idocs Guide to HTML

<TITLE>

Usage Recommendation
thumbs up use it

<TITLE> states the title of the document. <TITLE> always goes in the <HEAD> section.

this code produces this
<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
</HEAD>

<BODY>
Hi There!
</BODY>
</HTML>
this page

Most browsers show the title of the page at the top of the windowThe text inside <TITLE> is not displayed in the document. However, most browsers will display the title at the top of the window.

Don't confuse <TITLE> with headers. Although it is common to put the same text in <TITLE> as in <H1 ...>, so that the "title" is the first thing on the page, they are two separate tags and two separate contents:

this code produces this
<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
</HEAD>

<BODY>
<H1>My Home Page</H1>
Hi There!
</BODY>

</HTML>
this page

Search engines such as AltaVista, Infoseek, and Webcrawler will use the <TITLE> content to display the title of the page when they return information about it. It makes your page look bad if they instead display "No Title".

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.