⭐ HTML Text Formatting Tags
1. <b> – Bold Text
Makes text bold (without importance).
Example:
2. <strong> – Important Bold Text
Shows important text in bold.
Example:
3. <i> – Italic Text
Displays text in italic style.
Example:
4. <em> – Emphasized Text
Shows stressed/importance with italic.
Example:
5. <u> – Underlined Text
Shows text with underline.
Example:
6. <mark> – Highlighted Text
Highlights text (yellow by default).
Example:
7. <small> – Smaller Text
Reduces text size.
Example:
8. <del> – Deleted/Strikethrough Text
Shows removed or cut text.
Example:
9. <ins> – Inserted Text
Shows inserted/added text (underlined).
Example:
10. <sub> – Subscript Text
Text appears slightly below baseline.
Example:
11. <sup> – Superscript Text
Text appears slightly above baseline.
Example:
12. <code> – Computer Code
Displays text in monospace font.
Example:
13. <pre> – Preformatted Text
Preserves spaces and line breaks.
Example:
14. <q> – Short Inline Quote
Used for short quotations.
Example:
15. <blockquote> – Long Quote
Shows large block quotations.
Example:
16. <cite> – Citation / Title
Shows title of a work (italic by default).
Example:
17. <kbd> – Keyboard Input
Shows keyboard input text.
Example:
18. <br> – Line Break
Moves text to next line.
Example:
19. <hr> – Horizontal Line
Creates a horizontal rule.
Example: