<colgroup>

Table Column Group (NISO JATS table model)

A container element to hold column descriptions (element <col>) for a group of columns in a table—or for all of the columns in the table if there is only one <colgroup> in the table. Attributes on the <colgroup> apply to all of the columns in the group unless over-ridden on the <col>. (This element is based on and intended to be converted easily to the XHMTL colgroup element.)

Remarks

A container element to hold column descriptions (element <col>) for a group of columns in a table—or for all of the columns in the table if there is only one <colgroup> in the table. Attributes on the <colgroup> apply to all of the columns in the group unless overridden on the <col>.

Attributes

align Horizontal Alignment (NISO JATS table model)
char Table Cell Alignment Character (NISO JATS table model)
charoff Table Character Offset (NISO JATS table model)
content-type Type of Content
id Document Internal Identifier
span Span (NISO JATS table model)
style Style (NISO JATS table model; MathML Tag Set)
valign Vertical Alignment (NISO JATS table model)
width Width (NISO JATS table model; MathML Tag Set)
xml:base Base

Content Model

<!ELEMENT %colgroup.qname;  %colgroup.content; >

Expanded Content Model

(col)*

Description

<col> Table Column (NISO JATS table model), zero or more

This element may be contained in:

<table>

Example

    
...
<table-wrap id="TX0.180">
<label>Table 3</label>
<caption><p>Patient costs for institutional
care at the end of scheduled follow up</p></caption>
<table border="1">
<colgroup>
<col span="1"/>
<col align="char" char="," charoff="50%" span="1"/>
</colgroup>
<thead>
<tr>
<th>Year</th>
<th>Cost per patient</th>
</tr>
</thead>
<tbody>
<tr>
<td>1997</td>
<td>$8,250</td>
</tr>
<tr>
<td>2000</td>
<td>$31,400</td>
</tr>
<tr>
<td>2003</td>
<td>$125,600</td>
</tr>
</tbody>
</table>
</table-wrap>
...