
xml.schema.z3998-book-1.0-latest.schemadoc.subfiles.e-colgroup01.html Maven / Gradle / Ivy
Schema Documentation: the colgroup element
The colgroup element
On this page:
The
colgroup
element allows a set of properties to be defined for the cells in one or more table columns.
The
colgroup
can define a common set of properties for one or more columns using the
span
attribute, in which case it must be an empty element. To specify different properties for different columns, the
colgroup
must contain one or more
col
elements with the properties for those columns.
A
colgroup
must not contain both a
span
attribute and child
col
elements.
Usage Example
<table>
<colgroup>
<col span="2" class="center" />
<col class="right" />
</colgroup>
<colgroup span="4" class="result" />
<tr>
<td>…</td>
<td>…</td>
<td>…</td>
<td>…</td>
<td>…</td>
<td>…</td>
<td>…</td>
</tr>
</table>
Allowed parents
Allowed children
This element must not contain text.
This element may contain the following children: col
Content model
Namespace
http://www.daisy.org/ns/z3998/authoring/