HTML - <em> Tag



Description

The HTML <em> tag formats the text in a document. It specifies emphasized text.

Example

<!DOCTYPE html>
<html>

   <head>
      <title>HTML em Tag</title>
   </head>

   <body>
      <p>Insert an image in a web page using <em>image</em> tag.</p>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes
html_tags_reference.htm
Advertisements