Help Center

Local Navigation

HTML element: <var>

Availability

Full support as of BlackBerry® Device Software version 3.7.

The <var> element indicates a variable name, or a value that the user supplies. The BlackBerry Browser renders the enclosed text in italics.

Differences between HTML, XHTML, and XHTML-MP

None.

Attributes

Attribute

Value(s)

Description

Supported in

Common attributes

The <var> element supports the following common attributes:

  • class
  • dir
  • id
  • lang
  • style
  • title

4.6 or later

Event attributes

The <var> element supports the following event attributes:

  • onclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup

4.6 or later

Index


Was this information helpful? Send us your comments.