The <em> (short for emphasis) tag is used to emphasize the text content.
The following table summarizes the usages context and the version history of this tag.
| Placement: | Inline |
|---|---|
| Content: | Inline and text |
| Start/End Tag: | Start tag: required, End tag: required |
| Version: | HTML 2, 3.2, 4, 4.01, 5 |
<em>, <cite> and <i> tagTypically all these tags are displayed in italic type, but carries different meaning. The <em> and <cite> tag provides semantic meaning about the text it contains, but <i> tag don't add any semantic meaning.
The <em> tag signifies emphasized content, whereas the <cite> tag indicates a citation or reference to another source. This differentiates <em> and <cite> from the <i> tag, which simply sets the font to italics.
Syntax
The basic syntax of the <em> tag is given with:
HTML / XHTML: <em> ... </em>
The example below shows the <em> tag in action.
<p>This is an <em>important point</em> to consider.</p>
<p>This is one more <em>important point</em> to consider.</p>