Skip to main content

 Element reference

PSML elements from <author> to <xref>

<sub>

Summary

The <sub> element for subscript text.

Superscript element is <sup>

Usage context

Element categorycharacter-style
PSML levelportable
Permitted contentother character-style and text
Permitted parentblock 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.

Created on , last edited on