Basic Text Formatting in HTML
Basic Text Formatting in HTML
4. <strong>Strong Text</strong>: The <strong> tag is used to indicate strong importance, usually
5. <em>Emphasized Text</em>: The <em> tag is used to emphasize text, usually displayed as
italic.
8. <del>Deleted Text</del>: The <del> tag is used to show text that has been deleted, usually
displayed with a strikethrough.
9. <ins>Inserted Text</ins>: The <ins> tag is used to show inserted text, usually displayed with an
underline.
10. <sub>Subscript Text</sub>: The <sub> tag is used for subscript text.
Example: H<sub>2</sub>O
11. <sup>Superscript Text</sup>: The <sup> tag is used for superscript text.
Example: X<sup>2</sup>
12. <br> Line Break: The <br> tag is used to insert a line break.
13. <hr> Horizontal Rule: The <hr> tag is used to insert a horizontal rule (a thematic break).
Example: <hr>