- Bold Text
- Italic Text
- Underline Text
- Superscript Text
- Subscript Text

1. Bold Text
<b> tag is used for formatting the text as bold text. You place the text within <b> and </b> tags to make it bold.2. Italic Text
<i> tag is used for formatting the text as italic text. You place the text within <i> and </i> tags to make it italic.3. Underline Text
<u> tag is used for formatting the text as underline text. You place the text within <u> and </u> tags to make it underline.
4. Superscript Text
<sup> tag is used for formatting the text as superscript text. You place the text within <sup> and </sup> tags to make it superscript.
5. Subscript Text
<sub> tag is used for formatting the text as bold text. You place the text within <sub> and </sub> tags to make it subscript.

HTML Formatting Tags Source Code Examples
HTML Formatting Tags | Output in web browser |
---|---|
<b>Bold Text</b> <i>Italic Text</i> <u>Underline Text</u> Superscript Example X Squared= X<sup>2</sup> Subscript Example X base 2= X<sub>2</sub> | Bold Text Italic Text Underline Text Superscript Example X Squared= X2 Superscript Example X base 2= X2 |