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 | 説明 |
---|---|
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