HTML 5: The Markup Language

varvariable or placeholder text # T

The var element represents either a variable in a mathematical expression or programming context, or placeholder text that the reader is meant to mentally replace with some other literal value.

Content model #

Attribute model #

Tag omission #

A var element must have both a start tag and an end tag.

Permitted contexts #

Typical default display properties #

var {
font-style: italic; }