Contents
This section is normative.
This module defines elements, attributes, and a minimal content model for simple presentation-related markup:
Element | Attributes | Minimal Content Model |
---|---|---|
hr | Common | EMPTY |
sub | Common | (PCDATA | Inline)* |
sup | Common | (PCDATA | Inline)* |
When this module is used, the hr element is added to the Block content set of the Text Module. In addition, the sub and sup elements are added to the Inline content set of the Text Module.
Implementation: DTD
The hr element places a horizontal line in the document.
Remove or rename hr
It has been suggested thathr
be removed or renamed to, for instance, <separator/>
. The working group has not yet addressed this suggestion.Attributes
The sub element indicates that its contents should be presented as a subscript of the text baseline.
Attributes
Many scripts (e.g., French) require superscripts or subscripts for proper rendering. The sub and sup elements should be used to markup text in these cases.
H<sub>2</sub>O E = mc<sup>2</sup> <span xml:lang="fr">M<sup>lle</sup> Dupont</span>
The sup element indicates that its contents should be presented as a super-script of the text baseline.
Attributes
Many scripts (e.g., French) require superscripts or subscripts for proper rendering. The sub and sup elements should be used to markup text in these cases.
H<sub>2</sub>O E = mc<sup>2</sup> <span xml:lang="fr">M<sup>lle</sup> Dupont</span>