Learn HTML Code Tutorial Reference Guide

<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".

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial