title

This property currently does not exist and is a work in progress. Please use getTitle & setTitle

The document.title property gets or sets the current title of the document. document.title defines the document's title that is shown in a browser's title bar or a page's tab.

document.title = "String"

Examples

document.title = "New Title!"
document.addEventListener("DOMContentLoaded",function()
document.title = "DOM Loaded!"
end)

Last updated