javascript document title

title NN 2 IE 3 DOM 1

Read/Write

Unlike the title property for objects that reflect HTML elements, the document.title property refers to the content of the title element defined in the head portion of a document. The title content appears in the browser's titlebar to help identify the document. This is also the content that goes into a bookmark listing for the page. Although the property is read/write, don't be surprised if a browser version does not alter the window titlebar in response.

 
Example
 
document.title = "Fred\'s Home Page";
 
Value

String.

 
Default

None.


576,Nickname,Homepage or email,Comments here,Add comment