<var> ... </var>
Available in versions: 2.0, 3.2, 4.0
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;<br>
Output:
if (document.getElementById) blnDOM = true;
Or:
Code:
<code>
if (document.getElementById) <var>blnDOM</var> = true;<br>
</code>
Output:
if (document.getElementById) blnDOM = true;
Copyright 2000 by Infinite Software
Solutions, Inc.
Trademark Information
|