var element | var object
[This documentation is preliminary and is subject to change.]
Defines a programming variable. Typically renders in italic type.
![]() |
Standards information
- HTML 4.01 Specification, Section 9.2.1
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | inline |
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
