HTMLHeadingElement 接口表示不同的标题元素。它从 HTMLElement 接口继承方法和属性。
Object.prototype
Function.prototype
EventTarget
Node
Element
HTMLElement
HTMLHeadingElement
程序不能直接调用该构造函数,否则将会产生异常。
属性 | 说明 |
---|---|
- | - |
语法 | 说明 |
---|---|
- | - |
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLHeadingElement.prototype
从父元素继承的属性, HTMLElement。
属性 | 说明 |
---|---|
没有特殊的方法; 继承了父对象 HTMLElement 的方法。
语法 | 说明 |
---|---|
- | - |
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLHeadingElement.prototype
<h1-h6> 元素