tgroup

The <tgroup> element in a table contains column, row, spanning, header and footer specifications, and the body (<tbody>) of the table.

Contains

( (colspec) (any number) then (thead) (optional) then tbody)

Contained by

table

Inheritance

topic/tgroup

Attributes

Name Description Data Type Default Value Required?
cols Indicates the number of columns in a <tgroup> in a table. NMTOKEN #REQUIRED No
colsep Column separator. A value of 0 indicates no separators; 1 indicates separators. NMTOKEN "0" No
rowsep Row separator. A value of 0 indicates no separators; 1 indicates separators. NMTOKEN "0" No
align Describes the alignment of text in a table column. Allowable values are:
left
Indicates left alignment of the text.
right
Indicates right alignment of the text.
center
Indicates center alignment of the text.
justify
Justifies the contents to both the left and the right.
(left | right | center | justify | char) #IMPLIED No
%univ-atts; (%select-atts;, %id-atts;, translate, xml:lang) A set of related attributes, described at %univ-atts; parameter entity PE not applicable Not applicable
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not applicable Not applicable
class, outputclass Common attributes described in Other common DITA attributes

Example

See table.

OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.