HTML <em> tag Examples
Example: In this example, we use the <em> tag to render “Emphasized text content” in italics within the document structure.
<!DOCTYPE html>
<html>
<body>
<h2>HTML em Tag</h2>
<em>Emphasized text content</em>
</body>
</html>
Output:
Supported Browsers: The browsers supported by HTML <em> tag are listed below:
HTML Tag
HTML <em> tag is used to emphasize text, typically rendering it in italics. It conveys importance or stress semantically and is widely employed for emphasis within paragraphs or sentences.
Note: The <em> tag in HTML supports both Global Attributes and Event Attributes, enabling versatile usage for emphasizing text content.
Syntax:
<em> Contents... </em>