asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > SUP Element

<sup> Element


Specifies that the enclosed text be displayed in superscriptHTML 3.2, 4, 4.01, 5

HTML Syntax

Remarks

Superscripts in HTML appear slightly above the top edge of the preceding text and in a smaller font.

NOTE: Both start and end tags are required.

Attributes

The <sup> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The following sample will render like this: X2 + Y2

X<sup>2</sup> + Y<sup>2</sup>
See Also

SUB


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note