HTML Formatting
Text Formatting
HTML provides many tags to format text.
Example
<b>This is bold text</b> <strong>This is important text</strong> <i>This is italic text</i> <em>This is emphasized text</em> <mark>This is marked text</mark> <small>This is small text</small> <del>This is deleted text</del> <ins>This is inserted text</ins> H<sub>2</sub>O X<sup>2</sup>
<b>
Bold text
<i>
Italic text
<mark>
Highlighted text
<sub>
Subscript text
Summary
- Formatting changes text style
- HTML has many formatting tags
- Used for bold, italic, sub, sup, etc.