Variable. Defines a computer variable for example. The HTML <var> tag is used for indicating an instance of a variable.

The variable could be part of an application, mathematical expression, or a placeholder in prose.

Required Attributes

  • None.

Optional Attributes

Example

<code><var>wordcount</var> = 6878;</code>

Changes in HTML5

  • None.

Related Tags