pre tag
em tag
i tag
kbd tag
samp tag
tt tag
TAG: var
<var> ... </var>
Available in versions: 2.0, 3.2, 4.0
Browser compatibility: Explorer 4, 5 Netscape 4, 6
The
<var>
tag is used to signify that the designated word is a variable name in a listing of computer code. This tag is used inside
code
and
pre
tag elements. On most browsers, the word or text is rendered in an italic or oblique font style.
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:
if (document.getElementById) <var>blnDOM</var> = true;
Output:
if (document.getElementById)
blnDOM
= true;
Or:
Code:
<code>
if (document.getElementById) <var>blnDOM</var> = true;
</code>
Output:
if (document.getElementById)
blnDOM
= true;
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information