HTML text formatting tags make certain text on your web pages to appear differently than normal text content.

These are types and examples of formatted text:

<b> This is bold style </b>
<i> This is italics style </i>
<em> This is emphasized style </em>
<strong> This is an important text </strong>
<small> This is small text </small>
<mark> This is marked text </mark>
<del> This is deleted text </del>
<sub> sub </sub>
<sup> superscript </sup>
<u> This is the underlined text </u>
<ins> This is inserted text </ins>


HTML Text Formatting Examples

code:





<p>H<sub>2</sub>SO<sub>4</sub></p>
 <p>2Y+2X<sup>3</sup>=150</p>


result:



H2SO4

2Y+2X3=150





Privacy Policy