HTML <col> Tag
The col tag defines column characteristics for each column in a <colgroup>
element. This allows you to format or classify a column or set of columns rather than each individual cell. This tag is sometimes referred to as the <col>
element.
Instead of repeating styles for each cell, for each row, the <col>
tag is handy for applying styles to whole columns.
Syntax
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<col> | Yes | Yes | Yes | Yes | Yes |