CSS Portal

HTML <em> Tag

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!

Description

The <em> tag in HTML is used to emphasize text, giving it semantic importance within the content. By default, text enclosed in <em> is rendered in italics by most browsers, but its primary purpose is semantic, not purely visual. This means it conveys meaning to both users and assistive technologies, such as screen readers, indicating that the content should be read with emphasis.

The <em> element is inline, which means it does not start on a new line and only affects the portion of text it wraps. It is typically used to stress a word or phrase within a sentence, helping to highlight significance or alter the meaning in a nuanced way.

Nested <em> tags can indicate stronger emphasis, as each additional level of <em> intensifies the semantic emphasis. However, for even stronger importance, the <strong> tag is recommended.

Example usage:

<p>I think you should <em>definitely</em> try this recipe.</p>

In this example, the word "definitely" is emphasized, signaling its importance to the reader and to assistive technologies.

The <em> tag is part of the HTML inline semantic elements family and plays a crucial role in improving content accessibility, readability, and SEO by giving meaning to the text rather than just styling it.

Properties

Permitted Parents
Any element that accepts phrasing content
Content
Inline and text
Start/End Tags
Start tag: required, End tag: required

Example

I can <em>not</em> emphasise this enough!

Attributes

None

Global Attributes

The <em> tag also supports the Global Attributes in HTML5

Event Attributes

The <em> tag also supports the Event Attributes in HTML5

Browser Support

The following information will show you the current browser support for the HTML <em> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.

This tag is supported by all modern browsers.
Desktop
Chrome
Edge
Firefox
Opera
Safari
Tablets & Mobile
Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-

Last updated by CSSPortal on: 26th December 2025

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!