Version | -//W3C//DTD XHTML 1.0 Transitional//EN | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Element | title | ||||||||||||||||||||
Purpose | document title | ||||||||||||||||||||
Description | This element encloses the title of a document. Since the title element occurs inside the document's head element, it is not considered to be part of the displayed content of the document itself. Typically, a browser will display the title of a document on its titlebar.
You can have exactly one title in the document. The contents of the title can be any amount of text.
For example:
<head> <title> Hello World Demonstration Document </title> </head> | ||||||||||||||||||||
Start tag | Required <title> | ||||||||||||||||||||
Attributes |
| ||||||||||||||||||||
Content | ( #PCDATA ) | ||||||||||||||||||||
End tag | Required </title> | ||||||||||||||||||||
Referenced in | head |