Style listStyleType Property
Style listStyleType Property
The listStyleType property is used to either set or return the list-item marker type.
Syntax:-
Its syntax is:- object.style.listStyleType OR object.style.listStyleType = value
Return:-
Its return is:- string containing type of a list
Further Explanation:-
Value | Description |
---|---|
disc | The marker is a filled circle |
armenian | The marker is traditional Armenian numbering |
circle | The marker is a circle |
cjk-ideographic | The marker is plain ideographic numbers |
decimal | The marker is a number |
decimal-leading-zero | The marker is a number with leading zeros (01, 02, etc.) |
georgian | The marker is traditional Georgian numbering |
hebrew | The marker is traditional Hebrew numbering |
hiragana | The marker is traditional Hiragana numbering |
hiragana-iroha | The marker is traditional Hiragana iroha numbering |
katakana | The marker is traditional Katakana numbering |
katakana-iroha | The marker is traditional Katakana iroha numbering |
lower-alpha | The marker is lower-alpha (a, b, c, etc.) |
lower-greek | The marker is lower-greek |
lower-latin | The marker is lower-latin (a, b, c, etc.) |
lower-roman | The marker is lower-roman (i, ii, iii, etc.) |
none | No marker is shown |
square | The marker is a square |
upper-alpha | The marker is upper-alpha (A, B, C, etc.) |
upper-greek | The marker is upper-greek |
upper-latin | The marker is upper-latin (A, B, C, etc.) |
upper-roman | The marker is upper-roman (I, II, III, etc.) |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |