Curriculum ▸ HTML Zero → Mastery ▸ Lesson 19: Emphasis (<em>) Foundations

Lesson 19 — Emphasis <em>

Learning Goals

Part 1 — What is <em>?

The <em> element emphasizes text. Browsers typically render it in italics, but unlike <i>, it conveys semantic importance.

Screen readers add vocal stress, so <em> improves accessibility.

Part 2 — Example

<p>You <em>must</em> complete this step before moving on.</p>
<p>The word <i>resume</i> is French for “summary.”</p>

Result: Both look italic, but <em> adds emphasis for accessibility.

Part 3 — Best Practices

Part 4 — Common Mistakes

Quick Quiz

  1. What does <em> do?
  2. How is <em> different from <i>?
  3. What effect does <em> have on screen readers?
Sample Answers
  • It emphasizes text, usually by italicizing it.
  • <em> conveys meaning; <i> is stylistic.
  • It causes screen readers to stress the word, improving accessibility.

Mini Project — Instruction Manual

Write instructions for a recipe or a tutorial. Use <em> to highlight words like must, always, or never. Compare it with <i> used for foreign terms or labels.

Lesson 19 Dictionary

<em> (Emphasis)
Marks text with emphasis. Italic by default, but adds semantic importance for accessibility.
<i> (Italics)
A stylistic element for alternate voice or terms, not semantic emphasis.