HTML and CSS Reference
In-Depth Information
Name
sub
Synopsis
<sub> . . . </sub>
Formats enclosed text as subscript. This element should be used only when subscript has a
specific meaning, not for typographic effects.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<p>H <sub> 2 </sub> 0</p>
Search WWH ::




Custom Search