Skip to main content

html-tags.com

<col>

One column (or span of columns) inside a colgroup.

Baseline: Widely available · Tables

When to use it

To target columns for width or styling without touching every cell.

When not to

Only valid inside colgroup; it holds no content.

Key attributes

span
how many columns this represents

Example

<colgroup>
  <col>
  <col span='2'>
</colgroup>
Source — this snippet needs a fuller context to render.

Authoritative references