Text Formatting
Use strong for important text and em for stressed text. They carry meaning. b and i only change appearance, so use them sparingly.
Other useful elements: mark highlights, small makes side comments, del shows removed text, ins shows added text, sub is a subscript and sup is a superscript.
Example
<p>Water is H<sub>2</sub>O and 10<sup>2</sup> is 100.</p>
<p>Price: <del>$20</del> <ins>$15</ins></p>
<p>Remember to <mark>save your work</mark>. <small>Terms apply.</small></p>Exercise
Highlight the word.
<p>This is <>key</>.</p>
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.