W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<SUP>...</SUP>

Description

Display the text as a superscript. This is a container for text that should be displayed as a superscript, and if practical, using a smaller font (compared with normal text).

WebTV displays enclosed text in a font two sizes smaller than the current (or base) font. If the current font is already set to 1 or 2, subscripted text will display in font size 1.

DTD

<!ELEMENT SUP - - (%inline;)*          -- subscript, superscript -->
<!ATTLIST SUP
  %attrs;                              -- %coreattrs, %i18n, %events --
  >
from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."

Attributes

Core attributes: class id style title
Internationalization attributes: dir lang
Events: onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup

Examples

Source
The <SUP> element lets you specify a trademark <SUP>(TM)</SUP> correctly.
 
Result
The <SUP> element lets you specify a trademark (TM) correctly.
Statistics