Help Center

Local Navigation

HTML element: <ol>

Availability

Full support as of BlackBerry® Device Software version 3.7.

The <ol> element specifies an ordered, or numbered, list. One or more <li> elements enclosed in an <ol> element appear with sequential numbers. The first enclosed <li> element appears on a new line.

Differences between HTML, XHTML, and XHTML-MP

None.

Attributes

Attribute

Value(s)

Description

Availability

compact

Deprecated. When specified, this attribute reduces spacing between list items.

4.6 or later

start

number

Deprecated. This attribute specifies the starting number for the list. Use styles instead.

4.6 or later

type

1

A

a

I

I

Deprecated. This attribute specifies the number style for the list. Use styles instead.

4.6 or later

Common attributes

The <ol> element supports the following common attributes:

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

4.6 or later

Event attributes

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