<sub> tag Prev Next HTML <sub> tag The <sub> tag is used to show subscript.Normally, you should use this for showing scientific and mathematical formulas.The text inside this element appears at the bottom of its normal position from the baseline.And, this will appear almost half of its original size in the browser. Syntax:<sub>text…</sub> Example <p>H<sub>2</sub>O Water</p> Run the Code How Browser will display INLINE. Difference between HTML4.01, XHTML and HTML5 HTML4 XHTML HTML5 None None None Attributes used with <sub> tag NONE Note/Warning/Info Do not use this for styling of the HTML document as it is only used as a subscript. × Dismiss this alert. Global Attributes The <sub> tag supports Global attributes. Event Attributes The <sub> tag supports Event attributes. Supporting Browsers Related Tags <sup> tag. Prev Next Facebook Twitter Google-plus