<col>
Description
This <col>
element specifies the properties of a column in a <table>
.
Example
<html>
<body>
<table>
<col style="color: maroon">
<col style="color: red">
<tr>
<td>col 1: maroon</td>
<td>col 2: red</td>
<tr>
<td>col 1: maroon</td>
<td>col 2: red</td>
</tr>
</table>
</body><!--from ww w .j av a 2 s .co m-->
</html>
The code above generates the following result.