CSS list-style-type

Demo

The CSS list-style-type property is used for specifying the "list style type" (what list item bullets should look like). For example, you can display your bullets as a disc, square, or roman numerals.

Also see the list-style, list-style-position and list-style-image properties.

Syntax

list-style-type: <value>

Possible Values

  • disc
  • circle
  • square
  • decimal
  • decimal-leading-zero
  • lower-roman
  • upper-roman
  • lower-greek
  • lower-alpha
  • lower-latin
  • upper-alpha
  • upper-latin
  • hebrew
  • armenian
  • georgian
  • cjk-ideographic
  • hiragana
  • katakana
  • hiragana-iroha
  • katakana-iroha
  • none

If the browser/user agent doesn't recognise the type it should use decimal.

In addition, all CSS properties also accept the following CSS-wide keyword values as the sole component of their property value:

initial
Represents the value specified as the property's initial value.
inherit
Represents the computed value of the property on the element's parent.
unset
This value acts as either inherit or initial, depending on whether the property is inherited or not. In other words, it sets all properties to their parent value if they are inheritable or to their initial value if not inheritable.

Specifications

Initial Value
disc
Applies To
List item elements
Inherited?
Yes
Media
Visual

Example Code

ul { 
  list-style-type: square; 
  }