TITLE.text (Property)

The text contained inside the <TITLE> block for the current document.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myTITLE.text

This yields the text of the title block. This is the same as the document.title property. Because it is read-only, you cannot modify the value from script. You can't get at the content of the <TITLE> tag with the innerHTML property either.

See also:Document.title

Property attributes: