Skip to content

<em> - The Emphasis Element

Inline HTML 2.0

The emphasis element marks text that has stress emphasis, changing the meaning of the sentence. It’s typically rendered in italic but represents semantic emphasis, not just visual styling.

Result
<em>emphasized text</em>

The <em> element adds stress emphasis that alters the meaning or tone of the sentence.

This is a crucial distinction in semantic HTML:

<!-- Semantic emphasis that changes meaning -->
<p>I <em>love</em> this movie!</p>
<p>Cats are <em>not</em> dogs.</p>

Use <em> when the emphasis changes the sentence meaning.

Result

The placement of <em> changes the meaning:

Result
Result
Result
Result

Nest <em> elements for increased emphasis:

Result
Result
Result
Result

Customize the emphasis appearance:

Result
<p>I'm reading <em>The Great Gatsby</em>.</p>
<!-- No semantic emphasis -->
<p><em>Chapter 1</em></p>
<p><em>Warning:</em> This action cannot be undone.</p>
<!-- Stress emphasis -->
<p>I <em>really</em> mean it!</p>

Many screen readers announce emphasized text with different intonation or inflection, helping convey the stress emphasis to users.

Don’t overuse emphasis - it loses impact:

<p>This is <em>very</em> <em>important</em> and you <em>must</em> <em>really</em> pay attention.</p>

Ensure meaning is clear even without emphasis:

<!-- Good: clear even without emphasis -->
<p>You must save your work <em>before</em> closing the application.</p>
<!-- Avoid: confusing without emphasis -->
<p>Do this <em>now</em>.</p>
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE3+Full support

The <em> element has been supported since the earliest browsers.