Fandom

HTML & CSS Wiki

Sup

649pages on
this wiki
Add New Page
Comments0 Share

The HTML <sup></sup> element is used for creating superscript text. Since it is inherently presentational, it should not be used to express a given meaning. However, it can be useful for mathematical exponents (x2) where the context implies the meaning of the exponent, as well as other cases where superscript presentation is helpful but not required. This element must not be used for styling purposes like the styling of the product name LaTeX. In that case CSS styles should be used; the vertical-align property with the sup value will achieve the same effect.


Attributes

See Global HTML Attributes.


HTML example:

TEXT<sup>TEXT</sup>

That produces: TEXTTEXT

See Also

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.