
Opening tag : <Sup>
Closing tag: </Sup>
Purpose:
The Superscript tag allows the text inside to appear as superscript - normally in a smaller font set slightly above the text line.
Attributes:
Class=class
- Formats the style of the text according to the specified tag.
Dir=direction
- Useful for languages that should be read from right to left.
Event=Javascript
- Allows javascript to run after an event associated with the tag.
Id=name
- Specifying an ID allows the tag to be referenced and manipulated through a script.
Lang=language
- Specifies the language of the text that appears inside the subscript tag.
Style=style
- Defines a style which can override any preceding style instructions.
Title=title
- Specifies a title for the text.
Example:
4<Sup>2</Sup>=16
Related Tags:
<Sub></Sub> - Subscript Tag.
Back to:
Alphabetical Guide
Guide By Type