HTMLTitleElement 接口包含文档的标题。此元素继承 HTMLElement 接口的所有属性和的方法。
Object.prototype
Function.prototype
EventTarget
Node
Element
HTMLElement
HTMLTitleElement
程序不能直接调用该构造函数,否则将会产生异常。
| 属性 | 说明 |
|---|---|
| - | - |
| 语法 | 说明 |
|---|---|
| - | - |
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLTitleElement.prototype
| 属性 | 说明 |
|---|---|
| text | DOMString 代表文档的标题的文本。 |
| 语法 | 说明 |
|---|---|
| - | - |
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLTitleElement.prototype
<title> 元素