Latest web development tutorials

HTML <title> tag

Examples

For your HTML document defines the title:

<html>
<head>
<meta charset="utf-8">
<title>文档标题</title>
</head>

<body>
文档内容......
</body>

</html>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the <title> tag.


Tag definitions and instructions

<Title> tag defines the title of the document in all HTML documents are required.

<Title> element:

  • Title custom browser toolbar
  • Provide page is added to the title favorites when
  • Displayed on the search engine results page title

Tips and Notes

Note: You can not have an HTML document <title> element is more than one.

Tip: If you leave the <title> tag, as an HTML document is invalid.


Differences between HTML 4.01 and HTML5

no.


Global Properties

<title> tag supports HTML global properties .


related articles

HTML Tutorial: HTML head