Name

title — <title> . . . </title>

Required. Specifies the title of the document. According to the HTML 4.01 and XHTML specifications, all documents must contain a meaningful title within the head of the document. Titles should contain only ASCII characters (letters, numbers, and basic punctuation). Special characters (such as & ) should be referred to by their character entities within the title.

Titles should be clear and descriptive. The title is typically displayed in the top bar of the browser, outside the regular content window as well as in a user’s bookmarks or favorites list. Search engines also rely heavily on document titles.

Attributes

Internationalization

id="text"

XHTML only. Assigns a unique identifying name to the element.

Example

<head>
<title> The Adventures of Peto &amp; Fleck</title>
</head>

Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.