OL Element | OL Object

MS Office DHTML, HTML & CSS

OL Element | OL Object


Draws lines of text as a numbered list.

HTML Syntax

<OL
    CLASS=classname
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS 
    START=n
    STYLE=css1-properties
    TITLE=text
    TYPE=1 | a | A | i | I
    event = script
>

Remarks

The TYPE attribute sets the list type for all ensuing lists unless a different type value is set.

The OL element is a block element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

This example uses the OL element to create a numbered list.

<OL>
<LI>This is the first item in the list.
<LI>And this is the second item in the list.
</OL>

<OL START=3>
<LI>This is item number 3.
</OL>

<OL TYPE=A>
<LI>This is item A.
</OL>

See Also

LI


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.