<colgroup span=””>

Attribute of
<colgroup> HTML Tag
What does <colgroup span=""> do?
Specifies the number of vertical table columns to be included in a column group.

Code Example

.total {
 background-color: #eeeeee;
<colgroup span="3">
<col class="total">
<td colspan="3">TOTAL</td>
Item Qty. Price Cost
Bananas 5 0.50 2.50
Apples 2 0.25 0.50
Oranges 3 0.75 2.25
TOTAL 5.25
Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for span