- <colgroup>
- To create structural divisions of semantically related columns within a table
- <col>
- To share attributes between several columns
- Legal use
- Immediately after table tag and optional caption element
- Any number of either col or colgroup elements
- Each colgroup element may have zero or more col elements as content
- span
- Both colgroup and col can have a span attribute
- For col element, defines the number of columns it applies to
- For empty colgroup element, defines the number of columns in the group
- For colgroup elements with col elements as content, number of columns in
group is defined by the sum
of the columns defined by the col elements with their span attributes