Learning HTML 3.2 by Examples, section 5 Descriptions of HTML 3.2 tags:

EM - emphasis

Purpose

To emphasize.

Typical rendering

In italics. If this is impossible, a browser might use e.g. underlining (Lynx does so). See general notes on rendering markup.

Basic syntax

<EM>text</EM>

Possible attributes

None.

Allowed context

Text container, i.e. any element that may contain text elements. This includes most HTML elements. In particular, text elements can be nested.

Contents

Text elements. Notice that this disallows e.g. paragraph breaks.

Examples

Example EM-1.html:

The EM element is <EM>logical</EM> markup as opposite to
<EM>physical</EM> markup such as the I element.

Notes

Avoid emphasizing too much; emphasizing everything is tantamount to not emphasizing anything.

You can use STRONG for stronger emphasis.

See also general remarks on phrase elements.



Date of last update: 2010-12-16.
This page belongs to the free information site IT and communication, section Web authoring and surfing, by Jukka "Yucca" Korpela.