HTML Syntax
<sup class = classname id = value style = css properties title = text event = script >
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.
The <sup> element has no attribute of its own, but supports global attributes common to all HTML elements.
<sup>
The following sample will render like this: X2 + Y2
X<sup>2</sup> + Y<sup>2</sup>
SUB
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note