Description
A description is a statement that describes or contains additional information about an object.
Syntax
The syntax for representing this component varies depending on the authoring format:
Authoring format | Syntax and example |
---|---|
XDITA |
Example:
|
HDITA |
There is no specific syntax for description in a figure component. Example:
|
MDITA | There is no specific syntax for description in MDITA. |
Usage information
The following list outlines common uses of the description component:
- Table and figure
- Provides more information than can be contained in the title
- Cross reference
- Provides a description of the target
Rendering expectations
When used in conjunction with figures, processors SHOULD consider the content of description components to be part of the content flow.
When used in conjunction with cross references, processors often choose to render the content of description components as hover help or other forms of link preview.
Attributes
The available attributes vary based on the authoring format:
- XDITA
- The following attributes are available on this element: 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.