Elements – Em Tag


Em Tag

The <em> tag is used to emphasize text in an HTML document. This can be done by wrapping the text you would like to be emphasized in an <em> tag and an </em> tag respectively. Most browsers will render text wrapped in an <em> tag as italicized.

Note: The <em> tag should not be used to stylistically italicize text. The <em> tag is used to stress emphasis on text. Typically, CSS formatting is used to stylistically italicize text.

Example:

<body> <p> Text that requires emphasis should go <em>here</em>. </p> </body>

More Information:

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.