HTML em tag

The HTML (emphasis) tag is used to display emphasized text. The text to be emphasized is provided in between the opening and closing of em tag.

HTML em tag

The HTML <em> (emphasis) tag is used to display emphasized text. The text to be emphasized is provided in between the opening and closing of em tag.

Syntax

<em>Emphasized text</em>

Attributes

There is no element-specific attributes for this tag. The <em> tag supports all the HTML global attributes.

Example

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    <p>This is an<em> Emphasized</em> text</p>
</body>
</html>

Output

This is an Emphasized text


Share Tweet Send
Loading...