Help Center

Local Navigation

HTML element: <sub>

Availability

Full support as of BlackBerry® Device Software version 4.0.

The <sub> element denotes that the enclosed text be displayed as subscript text.

Differences between HTML, XHTML, and XHTML-MP

XHTML-MP does not support the <sub> element.

Attributes

Attribute

Value(s)

Description

Supported in

Common attributes

The <sub> element supports the following common attributes:

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

4.6 or later

Event attributes

The <sub> 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.