Table
A simple table is a basic tabular environment that is designed to present organized content.
Syntax
The syntax for representing this component varies depending on the authoring format:
Authoring format | Syntax and example |
---|---|
XDITA |
|
HDITA |
|
MDITA |
A table should contain a header row, a delimiter row, and
zero or more rows with entries. Table entries inside a row
should be separated by pipes (
|
Usage information
The simpletable component is designed for close compatibility with HTML5 tables. It can contain a title and allows column and row spanning.
Attributes
The available attributes vary based on the authoring format:
- XDITA and HDITA
- The following attributes are available on this element: ID
attributes, localization attributes, universal
attributes, and
@props
. - MDITA
- There is no attribute support for the MDITA core profile. For the MDITA extended profile, attributes can be specified by using the HDITA representation.
Examples
This section is non-normative.
This section contains examples of how the table component can be used in the three authoring formats: