Horje
How to create HTML <em> Elements

The HTML <em> element defines emphasized text. The content inside is typically displayed in italic.

Tip: A screen reader will pronounce the words in <em> with an emphasis, using verbal stress.


Example of HTML <em> Elements

See the Example
index.html
Example: HTML
<p>This text is normal.</p>
<p><em>This text is emphasized.</em></p>

Full Example of HTML <em> Elements

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>This text is normal.</p>

<p><em>This text is emphasized.</em></p>

</body>
</html>

Output should be:

Full Example of HTML <em> Elements





Related Articles
What is HTML Text Formatting HTML Formatting
What is HTML Formatting Elements HTML Formatting
How to create HTML <b> and <strong> Elements HTML Formatting
How to create HTML <strong> Elements HTML Formatting
How to create HTML <i> Elements HTML Formatting
How to create HTML <em> Elements HTML Formatting
How to create HTML <small> Element HTML Formatting
How to create HTML <mark> Element HTML Formatting
How to create HTML <del> Element HTML Formatting
How to create HTML <ins> Element HTML Formatting
How to create HTML <sub> Element HTML Formatting
How to create HTML <sup> Element HTML Formatting

Single Articles
Example of HTML <em> ElementsHTML Formatting
Full Example of HTML <em> ElementsHTML Formatting

Read Full:
HTML Formatting
Category:
Web Tutorial
Sub Category:
HTML Formatting
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
56


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_formatting_em

Share on: