title
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
Was this helpful?