<col>
HTML <col> Element Reference
The HTML <col> element represents one or more columns within a table column group.
Categories
- Tabular data
Tag omission
This is a void element and does not have an end tag.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical col element example.
<table>
<colgroup><col class="name"><col class="value"></colgroup>
</table>