<VAR>
The VAR element instructs the browser to render the contents
as a program variable or argument. Normally, this would be
displayed in a mono-typed font.
A closing tag is required for this element.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
STYLE |
Defines an inline style attribute which should be applied to the contents.
Attribute may be any valid CSS (Cascading Style Sheet) information. |
|
Example
print variable <VAR>szText</VAR>
Renders As:
print variable szText
Compatibility
HTML 4.01
|