description & Usage
<em> stands for emphasize and is used to emphasize text.
The contents of the <em> tag are displayed in italic text.
description | tag |
---|---|
To specify the main titles | <h1> - <h6> |
For emphasis on text Italic style <Equal to <strong |
|
For important texts Bold style <Equal to <em |
|
For important texts Highlight style <Less than <strong |
|
to mark Bold style unimportant |
|
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<em> |
Global Attributes
The <em> tag supports the HTML Global Attributes.
Event Attributes
The <em> tag supports the HTML Event Attributes.
Default CSS
Most browsers will display the <em> tag with the following default style: