The Column object represents an HTML <col> element.
You can access a <col> element by using getElementById():
You can create a <col> element by using the document.createElement() method:
var x = document.createElement("COL");
Property | Description |
---|---|
span | Sets or returns the value of the span attribute of a column |
The Column object also supports the standard properties and events.
HTML tutorial: HTML tables
HTML reference: HTML <col> tag
JavaScript reference: HTML DOM Columngroup Object
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!