HTML <em> Tag


Examples

Format text in a document:

<em>Emphasized text</em>

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the <em> tag.


Definition and Usage

The <em> tag is a phrase tag used to render emphasized text.

Tip:We do not oppose using this tag, but if you only use it to achieve a certain visual effect, we recommend using CSS, which may produce richer effects.

All phrase tags:

Tag Description
<em> Renders as emphasized text.
<strong> Defines important text.
<dfn> Defines a definition item.
<code> Defines computer code text.
<samp> Defines sample text.
<kbd> Defines keyboard text. It represents text that is typed from the keyboard. It is often used in computer-related documents or manuals.
<var> Defines a variable. You can use this tag together with the <pre> and <code> tags.


Differences Between HTML 4.01 and HTML5

None.


Global Attributes

The <em> tag supportsHTML Global Attributes。


Event Attributes

The <em> tag supportsHTML Event Attributes。


Related Articles

HTML Tutorial:HTML Text Formatting

Other Extensions