HTML <title>Tag


Examples

Define a title for your HTML document:

<html> <head> <meta charset="utf-8"> <title>Document title</title> </head> <body>Document content......</body> </html>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the <title> tag.


Tag definition and usage instructions

The <title> tag defines the title of the document, and is required in all HTML documents.

The <title> element:

  • Defines a title in the browser toolbar
  • Provides a title for the page when it is added to favorites
  • Displays the page title in search-engine results

Tips and Notes

Note:An HTML document cannot have more than one <title> element.

Tip:If you omit the <title> tag, the document is not valid as HTML.


Differences between HTML 4.01 and HTML5

None.


Global Attributes

The <title> tag supportsHTML Global Attributes。


Related Articles

HTML Tutorial:HTML Head

Other Extensions