HTMLTableColElement 接口可提供特殊属性 (除了常见的对象 HTMLElement 接口提供的属性和方法通过继承也能获取到)操纵 <table> 元素。
Object.prototype
Function.prototype
EventTarget
Node
Element
HTMLElement
HTMLTableColElement
程序不能直接调用该构造函数,否则将会产生异常。
属性 | 说明 |
---|---|
- | - |
语法 | 说明 |
---|---|
- | - |
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLTableColElement.prototype
从父元素继承的属性, HTMLElement。
属性 | 说明 |
---|---|
span | 反映了 span html 属性, 指示要将此对象的属性应用到的列数。必须是正整数。 |
没有特殊的方法; 继承了父对象 HTMLElement 的方法。
语法 | 说明 |
---|---|
- | - |
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLTableColElement.prototype
<col> 元素
<colgroup> 元素