The <tgroup> element in a table contains column, row, spanning, header, and the body (<tbody>) of the table.
Contains
Note: These models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
Doctype | Content model |
---|---|
topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary | ( (colspec) (any number) then (thead) (optional) then tbody) |
Contained by
Doctype | Content model |
---|---|
topic (base), map (base), topic (technical content), map (technical content), concept, ditabase, glossary, glossentry, glossgroup, reference, task (strict), task (general), bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary | table |
Inheritance
- topic/tgroup
Example
See table.Attributes
Name | Description | Data Type | Default Value | Required? |
---|---|---|---|---|
cols | Indicates the number of columns in a <tgroup> in a table. | NMTOKEN | #REQUIRED | Yes |
colsep | Column separator. A value of 0 indicates no separators; 1 indicates separators. | NMTOKEN | #IMPLIED | No |
rowsep | Row separator. A value of 0 indicates no separators; 1 indicates separators. | NMTOKEN | #IMPLIED | No |
align | Describes the alignment of text in a table column. Allowable
values are:
|
(left | right | center | justify | char | -dita-use-conref-target) | #IMPLIED | No |
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) | A set of related attributes, described in univ-atts attribute group | |||
global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
class, outputclass | Common attributes described in Other common DITA attributes |