|Property/method value type:||String primitive|
|Argument list:||aTitleText||Some text in the title heading block|
The document title is yielded by this property. The property is not enumerable in the Netscape browser but it is in MSIE. In Netscape this property value is read-only but in MSIE you can modify it whenever you want by assigning a new value to one of the property references that point at the string containing the title text.
This is the text placed inside the <TITLE> tags. It exists inside the<HEAD> portion of the document, which suggests the document is really rooted at the <HTML> tag rather than the <BODY> tag. There are minor hierarchical inconsistencies like this.
In the MSIE browser, a special TITLE object is also created to help construct a DOM hierarchy inside the browser. The text attribute of that object references the same value as this property.
For most other objects, this value represents the TITLE="..." tag attribute for the tag that constructs the object. Beware when using title attributes that you get the value you really wanted.
In the MSIE browser, for objects other than the document object, the title property is used as ToolTip text, that automatically appears when the mouse moves over an Element object and pauses there.