Table Column Group (XHTML 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>.

See W3C documentation for the XHTML table model.


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


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)
style Style (XHTML table model; MathML 2.0 Tag Set)
valign Vertical Alignment (XHTML table model)
width Width (XHTML table model; MathML 2.0 Tag Set)

Model Information

Content Model

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


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

This element may be contained in:

<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">
<col span="1"/>
<col align="char" char="," charoff="50%" span="1"/>
<th>Cost per patient</th>