HTML <em> tag

Updated: 10/11/2017 by Computer Hope

HTML em tagThe HTML <em> tag is used in HTML to give emphasis to a certain block of text. By default, the <em> tag is an inline element that can be nested, and each level of nesting increases the degree of emphasis. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.

Note: The <em> tag is a phrase tag, which indicates that a section of text has structural meaning.

Example code

<p>The word <em>emphasize</em> is emphasized.</p>

Example result

The word emphasize is emphasized.

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <em> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
All versions All versions All versions All versions All versions

Additional phrase tags

Block of text, Browser, Compatibility, CSS, HTML bold tag, HTML strong tag, Web design terms