asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > EM Element

<em> Element


Emphasizes text, usually by rendering it in italic.HTML 2, 3.2, 4, 4.01, 5

HTML Syntax

NOTE: Both start and end tags are required.

Remarks

The <em> element represents stress emphasis of its contents.

The placement of stress emphasis changes the meaning of a sentence, and thus forms an integral part of the content.

The precise way in which stress is used to get the point across depends on the author.

Most browsers render text within <em> tags in emphasized type by default.

Authors can use CSS, though, to convey additional semantic information as needed, for example, to change color or font-weight. This makes it easier to manage multiple use cases of the <em> element.

The <em> element is similar in function to the <i> italic element.

Attributes

The <em> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The following shows how the em element may be used.

<p>This paragraph has <em>some emphasized text</em>.

which would render on a Web page as

This paragraph has some emphasized text.

External References

See Also

B   I   S   STRIKE   STRONG   U



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note