1. Home
  2. Computing & Technology
  3. Web Design / HTML

<em></em>

By Jennifer Kyrnin, About.com Guide

<em> Description:

The <em> element provides emphasis for the enclosed text.

Most browsers tend to render <em> in italics.

<em> Web Browser Support:
<em> Attributes:
<em> End Tag:
</em> REQUIRED
Contents:

CDATA Usually plain text. The following tags are valid within the <em> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var

<em> Valid Context:

The <em> tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

<em> Usage:
  • standard emphasis
    This is <em>emphasized text</em>.
<em> Special Notes:
  • Most browsers display the em tag in italics, but if you write something that must be italics (rather than emphasized), use CSS.
More <em> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.