Tutorials References Exercises Videos Menu
Free Website Get Certified Pro

HTML <em> Tag


Example

Mark up emphasized text in a document:

<p>You <em>have</em> to hurry up!</p>

<p>We <em>cannot</em> live like this.</p>
Try it Yourself »

Definition and Usage

The <em> tag is used to define emphasized text. The content inside is typically displayed in italic.

A screen reader will pronounce the words in <em> with an emphasis, using verbal stress.


Browser Support

Element
<em> Yes Yes Yes Yes Yes

Global Attributes

The <em> tag also supports the Global Attributes in HTML.


Event Attributes

The <em> tag also supports the Event Attributes in HTML.


Related Pages

HTML tutorial: HTML Text Formatting

HTML DOM reference: Emphasized Object


Default CSS Settings

Most browsers will display the <em> element with the following default values:

Example

em {
  font-style: italic;
}
Try it Yourself »