<title> (Document Title)
This element encloses the title of an HTML document. It must occur within a document's <head> element and must be present in all valid documents. Meaningful titles are very important because they are used for bookmarking a page and might be used by search engines attempting to index the document.
Standard Syntax
<title
dir="ltr | rtl"</title>
id="unique alphanumeric identifier"
lang="language code">
Attributes Defined by Internet Explorer
onlayoutcomplete, onreadystatechange
Example
<head>
<title>Big Company: Products: Super Widget</title>
</head>
Compatibility
HTML 2, 3.2, 4, 4.01, SHTML 1.0, 1.1, Basic
Internet Explorer 2, 3, 4, 5, 5.5, 6
Netscape 1, 2, 3, 4, 4.5-4.8, 6, 7
Opera 4-7
Notes
The title should be the first element found in the head.
Meaningful names should provide information about the document. A poor title would be something like "My Home Page," whereas a better title would be "Joe Smith Home."
Browsers can be extremely sensitive to the <title> tag. If the title element is malformed or not closed, the page might not even render in the browser.
The HTML 2.0 and 3.2 specifications define no attributes for the title element.