title | NN 6 IE 4 DOM 1
The title object reflects the title element. If you encounter problems referencing the element object by its id attribute (especially in IE 4/Windows or Netscape 6), use the tag access methods for the respective browsers: document.all.tags("title")[0] for IE, and document.getElementsByTagName("title")[0] for IE 5 or later and Netscape 6.
HTML Equivalent
    <title>
Object Model Reference
    [window.]document.getElementById("elementID")
Object-Specific Properties
text
Object-Specific Methods
None.
Object-Specific Event Handler Properties
None.

text | NN 6 IE 4 DOM 1
| Read/Write
Specifies the text content of the element. For the title element, this is the text between the start and end tags that also appears in the browser window's title bar (usually along with some identification of the browser brand). Changes you make to this property do not appear in the source code you view from the browser. Nor does the change appear in the title bar of IE for Windows.
Example
    document.getElementsByTagName("title")[0].text = "Welcome, Dave!";
Value
String.
Default
None.