HTML <em> tag

Updated: 11/13/2018 by Computer Hope
HTML em tag

The 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 of <em> 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

Edge Internet Explorer Firefox Safari Opera Chrome
All version 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