Document's title is a required element in HTML and there is only one allowed per page.

The title element's content is used as a page title in a browser's toolbar and in the browser's "Favorites", when added.

It is also very often used as the site's title that appears in a search engine's result.

Syntax:

<title></title>

Attributes:

  • lang (language information), dir (text direction)

Example

HTML title element:

 

›› go to examples ››