View video tutorial

HTML <em> Tag


The <em> tag displays emphasized text in a sentence.

HTML <em> Tag

The <em> tag is used to define text as emphasized.

The <em> element display text in italic type.

<em> vs <i> :The <em> element represents the stress of its content, while the <i> element represents the text set from plain prose. The visual result is the same for both cases.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


<p>Please do it <em>now</em>!</p>
<p>I <em>have</em> to do something about it.</p>   
<p>This is <em>not</em> a joke!</p
Try it Now »

Click on the "Try it Now" button to see how it works.