Skip to content
HTML.ONE
Home HTML Elements

HTML <colgroup> Element

Groups table columns for shared column properties.

Example

<table><colgroup><col span="2"></colgroup><tr><td>A</td><td>B</td></tr></table>

Further reference

HTML Living Standard

Live preview