<col>

Table Column (XHTML table model)

Definition

See documentation for the HTML 4.0 (XHTML) table model.

Description of one column of a table

Remarks

See documentation for your XML editor or other software to determine the interaction between <colgroup> and <col>.

Attributes

align Horizontal Alignment (XHTML table model)
alternate-form-of Alternate Form of Graphic, Media Object, Etc.
char Table Cell Alignment Character (XHTML table model)
charoff Table Character Offset (XHTML table model)
content-type Type of Content
id Identifier
span Span (XHTML table model)
valign Vertical Alignment (XHTML table model)
width Width (XHTML table model; MathML 2.0 DTD)

Model Information

Content Model

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

Description

This is an EMPTY element

This element may be contained in:

<colgroup> Table Column Group (XHTML table model); <table> Table (XHTML table model)

Tagged Example

...
<table-wrap id="TX0.180">
<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>
...


Module

htmltable.dtd