HTML DOM title property
Document Object
Definition and Usage
The title property returns the title of the current document (the text in the HTML title element).
Syntax
document.title
Browser support





All major browsers support the title property
Example
Example
Return the title of the current document:
The title of the document is:
Try it »
Document Object