Description:

The HTML <var> tag is used for indicating an instance of a variable or a parameter for an application. The variable could be part of an application, mathematical expression, or a placeholder in prose. It's typically presented using an italicized version of the current typeface, although that behavior is browser-dependent.

Example Code:
You need to add the <var>width</var> and <var>height</var> to the program.
Result:
You need to add the width and height to the program.
Attributes:

None

Global Attributes:

The <var> tag also supports the Global Attributes in HTML5

Event Attributes:

The <var> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.