Every HTML document must have a Title element. The title should identify the contents of the document and in a global context, and may be used in history lists and as a label for the windows displaying the document. Unlike headings, titles are not typically rendered in the text of a document itself. Normally, browsers will render the text contained within the
<TITLE> ... </TITLE> elements in the title bar of the browser window.
The Title element must occur within the head of the document and may not contain anchors, paragraph elements, or highlighting. Only one title is allowed in a document.
NOTE : The length of a title is not limited, however, long titles may be truncated in some applications. To minimise the possibility, titles should be kept as succinct as possible. Also keep in mind that a short title, such as 'Introduction' may be meaningless out of context. An example of a meaningful title might be 'Introduction to HTML elements'
This is the only element that is required within the
HEAD element. The other elements described are optional and can be implemented when appropriate.
<TITLE>Welcome to the HTML Reference</TITLE>
<TITLE> element, in accordance with the Internet Explorer Dynamic HTML, supports some of the standard properties and methods.
Of the Standard Dynamic HTML properties, the
<TITLE> element supports document, id, parentElement, sourceIndex and tagName. See the Standard Dynamic HTML properties topic for more details.
Of the Standard Dynamic HTML methods, the
<TITLE> element supports contains, getAttribute, removeAttribute and setAttribute. See the Standard Dynamic HTML methods topic for more details.
© 1995-1998, Stephen Le Hunte