You are here:    Home » HTML 4.0 Reference

The Web Design Group

SUP - Superscript

Syntax <SUP>...</SUP>
Attribute Specifications
Contents Inline elements
Contained in Inline elements, block-level elements

The SUP element is used for superscripts. Since SUP is inherently presentational, it should not be relied upon to express a given meaning. However, it can be useful for mathematical exponents where the context implies the meaning of the exponent, as well as other cases where superscript presentation is helpful but not required. For example:

The following two examples are ambiguous when presented on a browser incapable of superscript text:

There is no simple solution for this problem. One could use notation such as 2^4 to represent "two raised to the exponent four." If it gains browser support, MathML should provide a more suitable solution in the future.

More Information