Skip to content

Emphasis

Bold and italics

  • Lesson
  • 1 min read
  • 2 of 6 in this chapter

Bold

To bold text, use the b tags:

HTML
<p>The last word is <b>bold</b></p>

Italics

To italicize, use the em tags:

HTML
<p><em>Shrek Forever After</em> (2010)</p>

The em stands for emphasis - i tags aren't used for italics because they are reserved for icons.