<col> टैग पर span एट्रिब्यूट का उपयोग करके यह निर्दिष्ट किया जाता है कि वह कॉलम कितने कॉलम्स तक फैला होना चाहिए। यह <colgroup> के भीतर उपयोग होता है।
उदाहरण
<!DOCTYPE html> <html>
<head>
<style>
table, th, td {
border: 1px solid black;
}
</style>
</head>
<body>
<table>
<colgroup>
<col span="1" style="background-color:grey">
</colgroup>
<tr>
<th>क्र.सं.</th>
<th>नाम</th>
</tr>
<tr>
<td>1</td>
<td>अमित</td>
</tr>
</table>
</body>
</html>
नोट: span एट्रिब्यूट <col> पर होता है, <colgroup> पर नहीं। <colgroup span="N"> भी होता है जो N कॉलम्स का समूह बनाता है। CSS background-color से कॉलम स्टाइल करना span से आसान है।