The Title object represents an HTML <title> element.
You can access a <title> element by using getElementsByTagName():
You can create a <title> element by using the document.createElement() method:
Property | Description |
---|---|
text | Sets or returns the text of the document's title |
The Title object also supports the standard properties and events.
HTML tutorial: HTML Head
HTML reference: HTML <title> tag
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!