Help Center

Local Navigation

HTML element: <ol>

Availability

BlackBerry® Device Software 3.7 or later

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.

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 class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <ol> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.

For more information, see HTML event attributes.

Index


Was this information helpful? Send us your comments.