Properties
CSS
list-style-type
The list-style-type property specifies appearance of the list item marker if list-style-image has the value "none" or if the image pointed to by the URI cannot be displayed.
list-style-type: disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | upper-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit
| Initial: | disc |
| Applies To: | elements with display: list-item |
| Inherited: | yes |
| Percentages: | NA |
| Media: | visual |
- Values
- DOM
- Example | Values | armenian
- Example | Values | circle
- Example | Values | decimal
- Example | Values | decimal-leading-zero
- Example | Values | disc
- Example | Values | georgian
- Example | Values | lower-alpha
- Example | Values | lower-greek
- Example | Values | lower-latin
- Example | Values | lower-roman
- Example | Values | none
- Example | Values | square
- Example | Values | upper-alpha
- Example | Values | upper-greek
- Example | Values | upper-latin
- Example | Values | upper-roman
- Example | DOM
- References
Values
list-style-type: value;
| Value: | Description: |
| armenian | Traditional Armenian numbering |
| circle | Circle glyph |
| decimal | Decimal numbers, beginning with 1 |
| decimal-leading-zero | Decimal numbers padded by initial zeros (01, 02, 03, ... 98, 99) |
| disc | Disc glyph |
| georgian | Traditional Georgian numbering (an, ban, gan, ... he, tan, in, in-an, ...) |
| inherit | Takes the same computed value as the property for the element's parent |
| lower-alpha | Lowercase ascii letters (a, b, c, ... z) |
| lower-greek | Lowercase classical Greek (α, β, γ, ...) |
| lower-latin | Lowercase ascii letters (a, b, c, ... z) |
| lower-roman | Lowercase roman numerals (i, ii, iii, iv, v, ...) |
| none | No marker |
| square | Square glyph |
| upper-alpha | Uppercase ascii letters (A, B, C, ... Z) |
| upper-greek | Uppercase classical Greek (Α, Β, Γ, ...) |
| upper-latin | Uppercase ascii letters (A, B, C, ... Z) |
| upper-roman | Uppercase roman numerals (I, II, III, IV, V, ...) |
DOM
[window.]document.getElementById("element-id").style.listStyleType = "list-style-type";
