3 out of 4 rated this helpful - Rate this topic

var element | var object

[This documentation is preliminary and is subject to change.]

Defines a programming variable. Typically renders in italic type.

HTML 4.01 Specification, Section 9.2.1

Standards information

HTML information

Closing Tagrequired
CSS Displayinline

DOM Information

Inheritance Hierarchy

 Node
    var
 Element
    var

Remarks

The actual formatting of a VAR element is determined by the browser. Windows Internet Explorer renders the VAR element in italic type.

The actual formatting of a VAR element is determined by the mode used to render it.

Examples

This example uses the VAR element to render the word "filename" in italic type.


Enter the <VAR>filename</VAR> in the dialog box.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ