colgroup
The HTML <colgroup> element represents a group of columns in a table.
HTML CODE EXAMPLE
<table border="1">
<colgroup span="4" style="background-color:#8CC6FF;"></colgroup>
<tr>
<th>January</th>
<th>February</th>
<th>March</th>
<th>April</th>
</tr>
<tr>
<td>50</td>
<td>36</td>
<td>44</td>
<td>25</td>
</tr>
</table>
<colgroup span="4" style="background-color:#8CC6FF;"></colgroup>
<tr>
<th>January</th>
<th>February</th>
<th>March</th>
<th>April</th>
</tr>
<tr>
<td>50</td>
<td>36</td>
<td>44</td>
<td>25</td>
</tr>
</table>
January | February | March | April |
---|---|---|---|
50 | 36 | 44 | 25 |
Attributes for this element:
global attributes - global core attributes
See: list of global attributes
See: list of global attributes
Event handlers for this element:
global event handlers - global event handler attributes
See: list of global event handlers
See: list of global event handlers
Click Here To- Download code Link
0 Response to "colgroup"
Post a Comment