HTML <TITLE>

Usage Recommendation
thumbs up Use it.

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

This Code Makes 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 Makes 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 Google 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".

<META ...> >