HTML <var> computer code variable Tag Reference
The var HTML tag means variable, and it denotes variable references within computer programs etc.
Its meaning is unclear and it's rarely used.
The <var> HTML/xHTML tag
The <var> tag denotes a variable in a section of computer code and renders enclosed text in a monotype (and usually italic) font.
When to use the <var> tag (semantic use)
<var> is not clearly defined and should be avoided.
Example of <var> tag use
No examples are given as this tag should not be used.Alternatives to the <var> tag
You may also consider using:
- <pre>
- When you need to display preformatted text.



