HTML col span Attribute

Definition and Usage

The span attribute specifies the number of columns the col element should span.
This attribute should not be confused with the colspan attribute. This attribute does not merge any cells.


<col span="columns" />

Syntax Example

<col span="2" />

Attribute Values

Value Description
columns Specifies the number of columns the col element covers.

Browser Support

The attribute is supported in all major browsers.
Note: Even though this attribute has strong support in all browsers, most of the other col attributes are poorly supported.
HTML col span Attribute Reviewed by 1000sourcecodes on 05:57 Rating: 5
Powered by Blogger.