HTML DOM Document title
HTML DOM Document title Property
The title property is used to either set or return the title of the document.
Syntax:-
Its syntax is:- document.title OR document.title = newTitle
Return:-
Its return is:- string containing document title
Further Explanation:-
Value | Description |
newTitle | The new document title. |