Superscript | WebReference

Superscript

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Superscript

<sup> ... </sup>

Description: Renders the enclosed text as superscripted text.

Browser Compatibility: NN: 2.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • dir
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • style
  • title

Code Example:

The correct answer would be 8<sup>10</sup>.



Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/