var (Variable) Tag
<Var> (Variable Tag)
Explanation
Var tag is used to display
a "Variable" in separate font and style.
It is used to highlight the variable.
Example Code:
Result :
Variable a symbolic name associated with a value and whose associated value can be modified.
- Variable can be of "Mathematical expression or Application code".
- Apply proper closing tag for this input.
It is available in the previous versions of HTML.
It supports both
Global Attributes and
Event Attributes in HTML5.
Limitations:
It is applicable to all the browsers.