<em>
Published Jun 10, 2021Updated Apr 4, 2023
Contribute to Docs
The <em>
element represents text which is emphasized. Browsers will show the enclosed text in italics, by default.
Syntax
<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.
Example
<html><head> </head><body><!-- The words 'very important' will be emphasized --><p>Here is some text, and this part is <em>very important</em>. I hope youenjoy it.</p></body></html>
All contributors
- Not-Ethan
- christian.dinh
- Anonymous contributor
- short_matthew_f
- Anonymous contributor
- BrandonDusch
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn HTML on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner Friendly7 hours