Subscript and superscript elements are often used for rendering certain type of text, i.e. chemical formulas or properly visualization of phrases in certain languages.
Syntax:
<sub></sub>, <sup></sup>
Attributes:
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information)
- onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)
Example
HTML subscript and superscript elements:
Comments
No comments have been made yet.
Please login to leave a comment. Login now