The <em> tag in HTML is a phrase tag and used to emphasize the text content.
Note: This effect can be achieved by using CSS property.
Syntax:
<em> Contents... </em>
Example:
html
<!DOCTYPE html>
< html >
< head >
< title >
HTML em Tag
</ title >
</ head >
< body >
< h1 >GeeksforGeeks</ h1 >
< h2 >HTML em Tag</ h2 >
< em >Emphasized text content</ em >
</ body >
</ html >
|
Output:
HTML em Tag
Supported Browsers: The browser supported by HTML <em> tag are listed below:
- Google Chrome 1 and above
- Edge 12 and above
- Internet Explorer
- Firefox 1 and above
- Safari
- Opera