HTML » Tags » em

Version: 2.0, 3.2, 4.0

Compability: Explorer 4, 5  Netscape 4, 6

Syntax:
<em> ... </em>

The <em> tag is used to provide emphasis when displaying the enclosed word or phrase. Most browsers do this by rendering the selected text in italics.

The i tag also renders in italics (or oblique), or you could use the style sheets font-style property to display in italics.
 
The closing tag is mandatory.
 

Examples

Code:
Did you know that the <b>Guru</b> is over <em>800 years old</em>?
<br>
Did you know that the <b>Guru</b> is over <i>800 years old</i>?
Output:
Did you know that the Guru is over 800 years old?
Did you know that the Guru is over 800 years old?
Language(s): HTML

See Also: