i tag
b tag
dfn tag
pre tag
q tag
samp tag
strong tag
var tag
TAG: em
<em> ... </em>
Available in versions: 2.0, 3.2, 4.0
Browser compatibility: Explorer 4, 5 Netscape 4, 6
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.
Core Attributes
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Attributes
None.
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
?
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information