1. Computing

Discuss in my forum

<sup></sup>

By , About.com Guide

SUP description:

The SUP tag turns the enclosed text into superscript. Script that has been superscripted is elevated slightly above the baseline to appear above the surrounding text. You can also achieve similar results using the vertical-align: super; style property.

SUP Web Browser Support:

HTML Versions

SUP Attributes:

SUP End Tag:

</sup> REQUIRED

Contents:

CDATA Usually text. The following tags are valid within the SUP tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, tt, u, var

SUP Valid Context:

The SUP tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

SUP Usage:

standard superscript

That’s the 2<sup>nd</sup> time I’ve told you that.

footnote

<em>Alice in Wonderland</em> <a href="footnotes.htm#1"><sup><small>1</small></sup></a>

SUP Special Notes:

  • The SUP tag is most often used with scientific notation and non-English languages.
  • It can also be used to make footnotes.
  • The font size of SUP tag text is the same as the parent unless you’ve changed it implicitly.

More SUP Information:

Related HTML Tags

©2013 About.com. All rights reserved.