Specyfikacja HTML | Internet Explorer | Netscape | Opera |
4.x | 3.0a1 | 6.0b1 | 7.0 |
Polecenie pozwala utworzyć grupę kolumn tabeli o wspólnych własnościach.
Przykład:
Ilustracja COL i COLGROUP
<table border="1"> <colgroup span="3"> <col width="20"></col> <col width="50"></col> <col width="80"></col> </colgroup> <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> </tr> </table>
1 | 2 | 3 | 4 |
Atrybuty grupy kolumn:
Więcej o tabelach: Tabele