<sub>
Summary
The <sub> element for subscript text.
Superscript element is <sup>
Usage context
| Element category | character-style |
|---|---|
| PSML level | portable |
| Permitted content | other character-style and text |
| Permitted parent | block elements |
| HTML equivalent | <sub> |
| OpenXML equivalent | <w:run> with subscript property |
Attributes
No attributes.
Examples
The chemical formal for water is:
H<sub>2</sub>0
Displays as:
H20
Schema
XML Schema
<xs:element name="sub" type="character-style"/>
Relax Schema
element sub { character-style }
Compatibility
This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.