Help Center

Local Navigation

HTML element: <hr>

Availability

Full support as of BlackBerry® Device Software version 3.7.

The <hr> element renders a horizontal line.

Differences between HTML, XHTML, and XHTML-MP

In HTML, the <hr> element is not closed. To conform to XHTML (strict) or XHTML-MP, you must properly close the <hr> element.

Attributes

Attribute

Value(s)

Description

Supported in

Common attributes

The <hr> element supports the following common attributes:

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

4.6 or later

Event attributes

The <hr> element supports the following events:

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

4.6 or later

Index


Was this information helpful? Send us your comments.