<sup>

Description

A superscipt span of text within a paragraph.

The <sup> element is a styling aid. In itself, it does not affect the content or style of the enclosed text, other than apply a default superscript CSS to the spanned text. When a class or id is applied to a <sup> element, the enclosed content may be additionally styled via CSS.

Attributes

No attributes other than standard attributes are defined for <sup> elements.

Immediate descendants

<sup> elements may contain text, interleaved with the following immediate descendants.

Element name Description
<emph> A emphasized span of text within a paragraph.
<graphic> An inline graphic within the paragraph text.
<span> A span of text within a paragraph.
<strong> A strongly highlighted span of text within a paragraph.
<sub> A subscript span of text within a paragraph.
<sup> A superscript span of text within a paragraph.

Immediate ancestors

Element name Relation
<cell> An enclosing cell in a table header or body.
<entry> An enclosing entry in a list.
<para> An enclosing paragraph.
<span> An enclosing span.
<sub> An enclosing sup.
<sup> An enclosing sup.

Example

<document xmlns="http://boradoc.org/1.0">
  <chapter>
    <para>
      E = mc
      <sup>2</sup>
      .
    </para>
  </chapter>
</document>

The above BDML renders to the following:

E = mc2.