Sets or retrieves the style of the list.
dhtml语法
HTML | <ELEMENT TYPE
= sType... >
|
---|
Scripting | object.type [ = sType ] |
---|
DHTML可能的值
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.
DHTML代码范例
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.
是否符合公共标准
This property is deprecated in
HTML and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To