var

FilterElements

<var> ... </var>

Indicates an instance of a variable or program argument.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01
  • HTML5
<code><var>myString</var> = 'hello world';</code>

Rendered Example

myString = 'hello world';