Signup/Sign In
LAST UPDATED: JUNE 3, 2020

HTML em Tag

The HTML <em> tag is used to mark some text as emphasized text, which means the text is important text with respect to the content on the webpage. This tag informs search engines crawling the webpage, which text on the webpage should be emphasized or give special importance.

The text provided within <em> tag is known as the emphasized text.

bold and strong, emphasized and italic HTML tags

  • This emphasized text is given more importance by browsers, search engines than the rest of the content.

  • The emphasized text is displayed in the web Browser in italic style format, so it works like the HTML <i> tag, but also provide extra importance to the text enclosed within this tag, along with italic style.

    what is italic style

  • Also, this is an inline element.

HTML <em> Tag - Syntax and Usage

The <em> tag requires the start(opening) tag and end(closing) tag.

Below we have a basic syntax for the same:

<em>
    content here
</em>

HTML <em> Tag Basic Example

Below we have a basic example for the <em> tag:

HTML <em> tag Attributes

HTML <em> tag doesn't have any specific attributes but it supports Global attributes and Event attributes.

Default CSS Style for HTML <em> tag

em {
    font-style: italic;
}

Browser Support for HTML <em> tag

Following browsers support this attribute:

  • Firefox - Yes

  • Google Chrome - Yes

  • Internet Explorer 2+

  • Safari - Yes

  • Opera 2.1+



About the author:
Aspiring Software developer working as a content writer. I like computer related subjects like Computer Networks, Operating system, CAO, Database, and I am also learning Python.