sup

< html‎ | elements
Jump to: navigation, search

sup

This article is Ready to Use.


W3C Recommendation

Summary

Defines superscript text. Superscript text appears half a character above the baseline.


Overview Table

DOM Interface HTMLElement

This element must be used only to mark up typographical conventions with specific meanings. For the purely visual formatting of content to your liking, use CSS.


Compatibility

There is no data available for topic "html", feature "sup". If you think that there should be data available, consider opening an issue.

Examples

This example uses the SUP element to change some of the text to a superscript font. (MathML usage is encouraged, but this is acceptable.)

(X<SUP>2</SUP> + Y<SUP>2</SUP>)



Related specifications

Specification Status Related Changes
HTML 5.1 W3C Working Draft
HTML 5 W3C Recommendation
HTML 4.01 W3C Recommendation

See also

Other articles

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]