HTML and CSS Reference
In-Depth Information
Name
var
Synopsis
<var> . . . </var>
Indicates an instance of a variable or program argument.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<code>
<var>
myString
</var>
= 'hello world';</code>