HTML Tutorial
<colgroup>
:يستخدم عنصر
<colgroup>
:<colgroup>
:لإنشاء مجموعة أعمدة بعرض 150 بكسل ومحاذاة نص يسار، استخدم:
<colgroup span="3" width="150" align="left"></colgroup>
لاستكشاف عنصر
<table>
<colgroup span="2" width="200"></colgroup>
<colgroup span="1" width="100"></colgroup>
<thead>
<tr>
<th>اسم</th>
<th>العمر</th>
<th>المدينة</th>
</tr>
</thead>
<tbody>
<tr>
<td>جون</td>
<td>30</td>
<td>نيويورك</td>
</tr>
<tr>
<td>ماري</td>
<td>25</td>
<td>باريس</td>
</tr>
</tbody>
</table>
في هذا المثال، تحتوي المجموعة الأولى على عمودين بعرض 200 بكسل، والمجموعة الثانية تحتوي على عمود واحد بعرض 100 بكسل.