Skip to content
HTML.ONE
Home HTML Elements

HTML <var> Element

Represents a variable in a mathematical expression or programming context.

Example

<var>x</var> + 2

Further reference

HTML Living Standard

Live preview