For the complete documentation index, see llms.txt. This page is also available as Markdown.

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