Advertisement
❮ Previous: <dt> Next: <embed> ❯

<em>

HTML <em> Tag

Example

<p>Normal text <em>emphasized text</em></p>

Try this code ❯

Meaning

The <em> inline element emphasized text, which many browsers will display as italic text.

Typically this element is displayed in italic type. However, it should not be used to apply italic styling; use the CSS font-style property for that purpose.

Version: HTML 2, 3.2, 4, 4.01, 5


Standard Syntax

<em>text</em>


Advertisement

Global Attributes

<em> element also supports the Global Attributes in HTML.


Event Attributes

<em> element also supports the Event Attributes in HTML.


By Default CSS Value(s)

Most of the browsers will display the <em> element with the following by default value(s)

em {
  font-style: italic;
}

Related Tags:

<a>,
<abbr>,
<b>,
<bdi>,
<bdo>,
<br>,
<cite>,
<code>,
<data>,
<dfn>,
<i>,
<kbd>,
<mark>,
<q>,
<rp>,
<rt>,
<ruby>,
<s>,
<samp>,
<small>,
<span>,
<strong>,
<sub>,
<sup>,
<time>,
<u>,
<var> and
<wbr>

❮ Previous: <dt> Next: <embed> ❯
Advertisement