HTML <em> Tag
Description
The <em>
HTML tag is a text-level element used to indicate emphasis or emphasis within a piece of content. When text is enclosed within <em>
tags, it typically appears in italicized format by default in most web browsers, although the actual rendering may vary based on the browser's default styles or the website's CSS. This tag is often used to highlight words or phrases that should be given special attention or importance within the context of the surrounding text, helping to convey nuances of meaning and improve readability. It is one of the building blocks for structuring and styling content in HTML documents.
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 table will show you the current browser support for the HTML <em>
tag.
Desktop | |||||
12 | 1 | 1 | 15 | 4 |
Tablets / Mobile | |||||
18 | 4 | 14 | 3.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th September 2023