83
HTML <em> tag
HTML <em> tag is used to stress emphasis the particular text within a sentence or phrase. It gives semantic meaning to the text contained within it and renders in the italic form on the browser.
Syntax
Following are some specifications about the HTML <em> tag
Display | Inline |
Start tag/End tag | Both Start and End tag |
Usage | Textual |
Example
Output:
Attribute
Tag-specific attribute
The <em> tag does not contain any specific attribute in HTML.
Global attribute
The <em> tag supports the global attributes in HTML
Event attribute
The HTML <em> tag supports the event attributes in HTML.
Supporting Browsers
Element | Chrome | IE | Firefox | Opera | Safari |
<em> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML embed Tag