English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
titleThe current title of the document being set or returned (the text in the <title> element).
Return Title Property:
document.title
Set Title Property:
document.title = newTitle
var x = document.title;Test See‹/›
All browsers fully support the title property:
Property | |||||
title | Is | Is | Is | Is | Is |
Value | Description |
---|---|
newTitle | The new title of the document |
Return Value: | A string representing the document title |
---|---|
DOM Version: | DOM 2Level |