You are here:About>Computing & Technology>Web Design / HTML> HTML and XHTML> XHTML> HTML Tags> The em Element - emphasis - XHTML 1.0 HTML 4.0
About.comWeb Design / HTML
Newsletters & RSSEmail to a friendSubmit to Digg
More about the <em> Tag

font-styleBold and Italics

From Jennifer Kyrnin,
Your Guide to Web Design / HTML.
FREE Newsletter. Sign Up Now!
<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 about the <em> Tag

font-styleBold and Italics

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.