Skip to main content

Posts

Showing posts with the label Text Formatting Tags in HTML

Different Types of Text Formatting Tags in HTML

There are many Text formatting tags available in HTML. You can format your text as: Bold Text Italic Text Underline Text Superscript Text Subscript Text Let us discuss these formatting tags one by one with example html source code and the output in web browser. 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 p...