Example

A simple <em> tag:

Laboratory

description & Usage

<em> stands for emphasize and is used to emphasize text.

The contents of the <em> tag are displayed in italic text.

description tag
To specify the main titles <h1> - <h6>

For emphasis on text

Italic style

<Equal to <strong

 

<em>

 

For important texts

Bold style

<Equal to <em

 

<strong>

 

For important texts

Highlight style

<Less than <strong

 

<mark>

 

to mark

Bold style

unimportant

 

<b>

 

 

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<em>

Global Attributes

The <em> tag supports the HTML Global Attributes.

Event Attributes

The <em> tag supports the HTML Event Attributes.

Default CSS

Most browsers will display the <em> tag with the following default style: