Tables
Colgroup & Col Tags

This web page explores the COLGROUP & COL tags


1 2 3 4 5 6.00
A B C D E 13.0

HTML code:

<table border="1">

<colgroup>
  <col width=
"40">
  <col width="40">
</colgroup>
<colgroup align="center" span="2" width="40"></colgroup>
<colgroup align=
"right">
  <col width="50">
</colgroup>
<colgroup align="char" char=".">
  <col width="80">
</colgroup>

<tr>
  <td>1</td>
  <td>
2</td>
  <td>
3</td>
  <td>
4</td>
  <td>
5</td>
  <td>
6.00</td>
</tr>
<tr>
  <td>A</td>
  <td>
B</td>
  <td>
C</td>
  <td>
D</td>
  <td>
E</td>
  <td>
13.0</td>
</tr>

</table>