What is the <em> tag in HTML?

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:

    New on Educative
    Learn to Code
    Learn any Language as a beginner
    Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
    🏆 Leaderboard
    Daily Coding Challenge
    Solve a new coding challenge every day and climb the leaderboard

    Free Resources

    Copyright ©2025 Educative, Inc. All rights reserved