list-style-type property
Specifies the style of the list marker bullet or numbering system within a list.
JavaScript page for this property: listStyleType. You can find other example(s) there. |
Possible values:
One of the following values:
Arabic indic digits. | |||||||
Bengali digits. | |||||||
Cjk earthly digits. | |||||||
Cjk heavenly digits. | |||||||
Devanagari digits. | |||||||
Ethiopic digits. | |||||||
Ethiopic digits. | |||||||
Ethiopic digits. | |||||||
Ethiopic digits. | |||||||
Ethiopic digits. | |||||||
Gujarati digits. | |||||||
Gurmukhi digits. | |||||||
Hangul digits. | |||||||
Hangul consonant digits. | |||||||
Japanese formal digits. | |||||||
Japanese informal digits. | |||||||
Kannada digits. | |||||||
Khmer digits. | |||||||
Lao digits. | |||||||
Malayalam digits. | |||||||
Myanmar digits. | |||||||
Oriya digits. | |||||||
Persian digits. | |||||||
Simple chinese formal digits. | |||||||
Simple chinese informal digits. | |||||||
Tamil digits. | |||||||
Telugu digits. | |||||||
Thai digits. | |||||||
Chinese formal digits. | |||||||
Chinese informal digits. | |||||||
Urdu digits. | |||||||
Armenian digits. | |||||||
Outlined circles. | |||||||
Cjk ideographic digits. | |||||||
1, 2, 3, 4, and so on. Default for ol elements. | |||||||
0, 1, 2, 3, and so on. | |||||||
Solid circles. Default for ul elements. | |||||||
Georgian digits. | |||||||
Hebrew digits. | |||||||
Hiragana digits. | |||||||
Hiragana iroha digits. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
Katakana digits. | |||||||
Katakana iroha digits. | |||||||
a, b, c, d, and so on. | |||||||
Lower-greek digits. | |||||||
Lower latin digits. | |||||||
i, ii, iii, iv, and so on. | |||||||
No marker is shown. | |||||||
square | |||||||
A, B, C, D, and so on. | |||||||
Upper latin digits. | |||||||
I, II, III, IV, and so on. |
Default: disc.
Example HTML code 1:
This example illustrates the use of the list-style-type property:
|
||||
<body> <ol style="list-style-type: square;"> <li>square <li>list <li>type </ol> <ol style="list-style-type: circle;"> <li>circle <li>list <li>type </ol> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
list-style-type (MSDN)
list-style-type (Mozilla Developer Center)
list-style-type (Safari Reference Library)
list-style-type (W3C)
list-style-type (Mozilla Developer Center)
list-style-type (Safari Reference Library)
list-style-type (W3C)
User Contributed Comments