Program Variable or Argument | WebReference

Program Variable or Argument

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Program Variable or Argument

<var> ... </var>

Description: Indicates an instance of a variable or program argument.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • dir
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • style
  • title

Code Example:

The variable <var>x1</var> will be equal to 123.



Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/