<em>
The <em> HTML element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 1 | 12 | 1 | ≤4 | 18 | ≤3.2 | |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Syntax
HTML
<p><em>Be sure</em> to test this feature.</p>
<p>This <em><em>is </em>really <em>important</em></em>.</p> Live demo
Text. emphasis
Em element in stres emphasis representationationation.readside. nians that.
PreviewFullscreen
Em and strong. Difference
Em is emphasis, strong is heavymain.meaning. Difference comparison.
PreviewFullscreen
nestedemphasis
Em nested and emphasisdegree that.stage emphasisrepresentationationation.
PreviewFullscreen
Use cases
-
Using <em>
The <em> HTML element marks text that has stress emphasis.
Cautions
- May not be supported in older browsers.
Accessibility
- Verify how this element is announced by screen readers.