<sup>
A superscript is text that is printed above the line. It is frequently used in chemical and mathematical formulas.
Rendering expectations
The content of the <sup>
element is typically rendered higher in relationship to the
surrounding text and in a smaller font.
Specialization hierarchy
The <sup>
element is
specialized from <ph>
. It is defined in the
highlighting-domain module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
Example
The following code sample shows a <sup>
element used to ensure
proper formatting of the exponent in the number ten to the power of five:
<p>The power produced by the electrohydraulic dam was 10<sup>5</sup> more than
the older electric plant.</p>