The "var" Element

Additional links:

The "var" element marks up a variable. This could be an actual variable in a mathematical expression or computer program, an identifier representing a constant, a function parameter, a term used as a placeholder in prose, etc.

Attributes for "var"
TypeAttribute List
'Standard' Attributes"is"
New HTML 5.2 Attributes"slot"


  • Consider MathML for more complicated mathematical expressions, but "var" can still be used to refer to specific variables in MathML expressions.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem