HTML title Tag

Example

Define a title for your HTML document:
<html>

<head>
<title>HTML Reference</title>
</head>

<body>
The content of the document......
</body>

</html>

Teach Yourself  by BH24 HTML Editor Tool!

The <title> tag is supported in all major browsers.

Definition and Usage

The <title> tag is required in all HTML documents and it defines the title of the document.
The <title> element:
  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search-engine results

Tips and Notes

Note: You can NOT have more than one <title> element in an HTML document.
Tip: If you omit the <title> tag, the document will not validate as HTML.