HTML EM tag is used to emphasize a text within an HTML resource or webpage.
EM Tag needs to be closed by using the EM closing Tag </em>.
All the content which is wrapped between the opening and closing EM Tags will be rendered as emphasized on a browser.
HTML EM Tag Syntax
<em> Some text here… </em>
HTML Em Tag Example
HTML Em Tag Code | Output |
Tech Honey is a Very good website |
Tech Honey is a Very good website |
Here in the EM Tag example above we can see that the words “googd website” are wrapped in the EM Tag and hence are rendered as emphasized in the output section of the EM Tag example.
EM Tag support all HTML Global Attributes and HTML Event Attributes.
HTML Em Tag Supporting Browsers
S. No. | Browser | Supported(Yes/No) |
1 | Internet Explorer | Yes |
2 | Firefox | Yes |
3 | Google Chrome | Yes |
4 | Opera | Yes |
5 | Safari | Yes |