<col span=””>

Attribute of
<col> HTML Tag
What does <col span=""> do?
Specifies the number of natural vertical columns to be included in the <col> element.

Code Example

.total {
 background-color: #eeeeee;
 <col 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