HTML <em> tag

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

The HTML <em> tag is used in HTML (hypertext markup language), 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, and 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

All HTML tags support standard attributes that define the settings of an HTML element. Unlike other HTML tags, the <em> tag has no unique 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, Container tag, CSS, HTML bold tag, HTML strong tag, Web design terms