DEV Community

Cover image for HTML tags | var
Carlos Espada
Carlos Espada

Posted on • Edited on

1

HTML tags | var

It is used to represent the name of a variable in a mathematical expression or in a programming context.

Normally browsers render them using the corresponding italic version of the font, although the style can be customized using CSS.

It should not be used for presentation purposes, for this you would have to use a <span> with associated styles or if it makes sense some other specific tag such as <em>, <i> or <q>.

  • Type: inline
  • Self-closing: No
  • Semantic value: No

Definition and example | Support

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up