The best HTML DOM Title Objects Tutorial In 2024, In this tutorial you can learn Title Objects,Title object properties,Standard properties and events,related articles,

HTML DOM Title Objects

Title Objects

Title object represents an HTML <title> element.

Title Object Access

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

var x = document.getElementsByTagName ( "TITLE" ) [0]; try

Create Object Title

You can use document.createElement () function to create a <title> element:

var x = document.createElement ( "TITLE" ); try

Title object properties

Attributes Description
text Sets or returns the document's title element text message

Standard properties and events

Title objects support the standard attributes and events .


related articles

HTML Tutorial: HTML head

HTML Reference Manual: HTML <title> tag

HTML DOM Title Objects
10/30