Sets or retrieves the style of the list.
Syntax
HTML | <ELEMENT TYPE
= sType... >
|
---|
Scripting | object.type [ = sType ] |
---|
Possible Values
sType | String that
specifies or receives one of the following values.1 | Default. Associate numbers with each item in an ordered list. | a | Associate lowercase letters with each item in an ordered list. | A | Associate uppercase letters with each item in an ordered list. | i | Associate small Roman numerals with each item in an ordered list. | I | Associate large Roman numerals with each item in an ordered list. | disc | Associate a solid disc with each item in an unordered list. | circle | Associate a hollow circle with each item in an unordered list. | square | Associate a solid square with each item in an unordered list. |
|
The property is read/write.
The property has a default value of
1.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Example
This example uses the TYPE attribute to set the line item markers to lowercase Roman numerals.
<OL TYPE="i">
<LI>First Item
<LI>Second Item
<LI>Third Item
</OL>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information
This property is deprecated in
HTML
and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1
.
Applies To