HTML | PHP | Forum

HTML <sub> tag


<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.


Source Output
This is an example of the
 <sub>sub element</sub>
This is an example of the sub element;


Learn HTML
HTML Tutorial

HTML Reference
HTML by function
HTML by Alphabet

HTML events
HTML attributes
HTML color names

<h1> to <h6>


Copyright 2005-8 Sunilcare.  All Rights Reserved.
Comments or suggestions? Contact us.About us