Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html

What is the <em> tag in HTML?

Amaaz Ahmad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

The <em> tag stands for emphasis. It is used to stress a piece of text.

The <em> tag italicizes the text as its default behaviour, as shown in the snippet below:

em { 
    font-style: italic;
}

The behavior of the <em> tag can be changed by adding more CSS properties.

Syntax

<em> Text goes here </em>

Example

The code snippet below shows how the em tag can be used in HTML:

    RELATED TAGS

    html

    CONTRIBUTOR

    Amaaz Ahmad
    Copyright ©2022 Educative, Inc. All rights reserved

    Grokking Modern System Design Interview for Engineers & Managers

    Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

    Keep Exploring