Easy Tutorial
❮ Att Object Type Att Tr Charoff ❯

HTML <em> Tag

Example

Formatting text in a document:

<em>Emphasized text</em>

Browser Support

All major browsers support the <em> tag.


Tag Definition and Usage

The <em> tag is a phrase tag that renders text as emphasized.

Tip: While we do not oppose the use of this tag, if you are using it purely for visual effects, we recommend using CSS for potentially richer effects.

All phrase tags:

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

Differences Between HTML 4.01 and HTML5

None.


Global Attributes

The <em> tag supports HTML's global attributes.


Event Attributes

The <em> tag supports HTML's event attributes.


Related Articles

HTML Tutorial: HTML Text Formatting

❮ Att Object Type Att Tr Charoff ❯