Easy Tutorial
❮ Jsref Tostring Array Prop Text Maxlength ❯

HTML DOM Title Object


Title Object

The Title object represents an HTML <title> element.

Accessing the Title Object

You can access the <title> element using getElementsByTagName():

Creating a Title Object

You can create a <title> element using the document.createElement() function:

Title Object Properties

Property Description
text Sets or returns the text content of the document's title element

Standard Attributes and Events

The Title object supports standard attributes and events.


Related Articles

HTML Tutorial: HTML Head

HTML Reference: HTML <title> Tag

❮ Jsref Tostring Array Prop Text Maxlength ❯