HTML <col> 标签
<col> 标签用于为表格中的一列或多列设置属性值。<col> 标签只能在 <table> 元素或 <colgroup> 元素内部使用。
实例:<col> 标签实例
<table border="1">
<colgroup>
<col span="2" style="background-color:red">
<col style="background-color:yellow">
</colgroup>
<tr>
<th>ISBN</th>
<th>Title</th>
<th>Price</th>
</tr>
<tr>
<td>3476896</td>
<td>My first HTML</td>
<td>$53</td>
</tr>
</table>
运行实例点击"运行实例"按钮查看在线实例