<var>

Description

This element usually causes text to be rendered in italics. It is used to format programming variable names that appear in a web page.

Example


<html>
<body>
     <var>myField</var>
</body><!--   w w w  . j a  v a 2  s .  c  om-->
</html>

Click to view the demo

The code above generates the following result.

var




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference