em

The HTML <em> element adds emphasis to text. The emphasis can change how a sentence is understood or read aloud; it is more than a request to display italic text.

What you will learn

Basic example

<p>Please read the <em>whole</em> instruction.</p>

Browsers usually render em in italics, but the important part is its meaning. Assistive technologies can use the emphasis when presenting the text, and nested em elements can express a stronger level of emphasis.

How it differs from similar elements

If the goal is only visual styling, use CSS rather than choosing an element for its default italic appearance.

Related pages