The <em> element represents text which is emphasized. Browsers will show the enclosed text in italics, by default.


<em><!-- Emphasized text goes here --></em>

Text is wrapped in opening and closing <em> tags. By default, <em> is an inline element, and will be shown in italics.


<head> </head>
<!-- The words 'very important' will be emphasized -->
Here is some text, and this part is <em>very important</em>. I hope you
enjoy it.

Output of the example above for em tag


Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn HTML on Codecademy