CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <var> element

The <var> Element

Inline Text Semantics

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(none)


  • 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