Partager via


OL XHTML Element

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The OL element creates an ordered list consisting of LI elements.

Using this Element

There are some common properties and collections that apply to all the elements of the document object model, see Common Properties, Methods and Collections for the HTML Elements in Internet Explorer Mobile.

This element can be used within a web page with attributes.

This element can be used within scripts where it will have properties, events and methods.

Attributes

The following table shows items that Internet Explorer Mobile supports.

Attribute Value Description

CLASS

 

Associates the element with a CSS style.

> [!NOTE] > Supported only for devices running Windows Mobile 2003 software or later.

ID

 

Uniquely identifies the element within a document.

> [!NOTE] > Supported only for devices running Windows Mobile 2003 software or later.

START

 

Specifies ordered list starting number.

STYLE

 

Provides the definition of the CSS styles used for this element.

> [!NOTE] > Supported only for devices running Windows Mobile 2003 software or later.

TYPE

 

Specifies the style of the list. Possible values are:a results in list items a, b, c, etc.A results in list items A, B, C, etc.1 results in list items 1, 2, 3, etc.i results in list items i, ii, iii, etc.I results in list items I, II, III, etc.

 

1

Results in list items 1, 2, 3, and so on.

This attribute is equivalent to the CSS:

list-style-type: decimal;

 

a

Results in list items a, b, c, and so on.

This attribute is equivalent to the CSS:

list-style-type: lower-alpha;

 

A

Results in list items A, B, C, and so on.

This attribute is equivalent to the CSS:

list-style-type: upper-alpha;

 

custom

This is a custom type of custom.

This attribute is equivalent to the CSS:

list-style-type: {custom};

Scripting Properties

This element has no scripting properties.

Scripting Events

This element has no associated events.

Scripting Methods

This property has no associated methods.

Requirements

Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Concepts

Internet Explorer Mobile HTML Elements