|
|
HTML <sub> tag
Syntax
<sub> - </sub>
Definition and Usage
The SUB element specifies that the enclosed text should be displayed
in subscript, using a smaller font than the current font.
Standard Attributes
| id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard
Attributes.
Event Attributes
| onclick, ondblclick, onmousedown, onmouseup, onmouseover,
onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
Example
| Source |
Output |
This is an example of the
<sub>sub element</sub>
|
This is an example of the sub element;
|
|
|