sup element | sup object
[This documentation is preliminary and is subject to change.]
Specifies that the enclosed text should be displayed in superscript, using a smaller font than the current font.
![]() |
Standards information
- HTML 4.01 Specification, Section 9.2.3
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | inline |
DOM Information
Inheritance Hierarchy
Node
sup
Element
sup
Remarks
Examples
This example uses the SUP element to change some of the text to a superscript font.
(X<SUP>2</SUP> + Y<SUP>2</SUP>)
See also
Build date: 3/8/2012
