04 / 07

When should you use <em> instead of <i>?

Both <em> and <i> tags render text in italics by default, but they serve different purposes. The <i> tag is used for stylistic text (like foreign words, technical terms, or thoughts), while the <em> tag is semantic and indicates emphasis. Screen readers and assistive technologies recognize <em> as emphasized text and give it vocal stress.

Example Using <i> and <em>
Key Differences
  1. 1

    <i> makes text italic without implying importance (visual only).

  2. 2

    <em> makes text italic and adds semantic emphasis.

  3. 3

    Screen readers announce <em> with stress, improving accessibility.

  4. 4

    Use <i> for foreign words, idioms, or technical terms.

  5. 5

    Use <em> when you want to highlight importance or emphasis.

Example with CSS Alternative