For strong importance or urgency. Learn more →
<em> ElementThe 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.
<em>emphasized text</em>The <em> element adds stress emphasis that alters the meaning or tone of the sentence.
<em> vs <i>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.
<!-- Visual styling, no semantic emphasis --><p>The ship <i>HMS Victory</i> is in Portsmouth.</p><p>She thought, <i>This is wonderful</i>.</p>Use <i> for technical terms, foreign words, or thoughts.
The placement of <em> changes the meaning:
Nest <em> elements for increased emphasis:
Customize the emphasis appearance:
<em><p>I'm reading <em>The Great Gatsby</em>.</p><p>I'm reading <cite>The Great Gatsby</cite>.</p><!-- No semantic emphasis --><p><em>Chapter 1</em></p><p><i>Chapter 1</i></p><!-- or --><p><span class="chapter">Chapter 1</span></p><p><em>Warning:</em> This action cannot be undone.</p><p><strong>Warning:</strong> This action cannot be undone.</p><!-- Stress emphasis --><p>I <em>really</em> mean it!</p><!-- Strong importance --><p><strong>Warning:</strong> Dangerous!</p><!-- Highlighted/marked --><p>Search results for <mark>HTML</mark></p><!-- Stylistic offset --><p>The term <i>semantic</i> refers to meaning.</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><p>This is <em>very important</em> and you must really 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>| Browser | Version | Notes |
|---|---|---|
| Chrome | 1+ | Full support |
| Firefox | 1+ | Full support |
| Safari | 1+ | Full support |
| Edge | 12+ | Full support |
| IE | 3+ | Full support |
The <em> element has been supported since the earliest browsers.
For strong importance or urgency. Learn more →
For text in alternate voice or mood. Learn more →
For highlighted or marked text. Learn more →