Line At A Time
Lesson 4: Bold and Italic
Bold and Italic Make words stand out inside a paragraph.
1<p>Pizza is <strong>amazing</strong>.</p>
2<p>Even the crust is <em>delicious</em>.</p>
Terminal
Every line, explained
<p>Pizza is <strong>amazing</strong>.</p>
Tags can live INSIDE other tags. <strong> marks its content as important, and browsers show it bold. Only the word between <strong> and </strong> changes; the rest of the paragraph stays normal.
<p>Even the crust is <em>delicious</em>.</p>
<em> is emphasis, shown in italics: the tone of voice you'd use saying the word out loud. Notice both tags close in the same paragraph they open: tags must be closed in the reverse order they were opened, like stacking boxes.