CSS list-style-type property

Description

CSS list-style-type defines the type of list item markers.

Syntax

list-style-type : disc | circle | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | lower-alpha | upper-alpha | armenian | georgian

Property values

discDefault

disc as item markers.

list-style-type: disc;

circle

circle as item markers.

list-style-type: circle;

decimal

decimal number as item markers

list-style-type: decimal;

decimal-leading-zero

decimal number as item markers with leading zero.

list-style-type: decimal-leading-zero;

lower-roman

lower roman numbers as item markers

list-style-type: lower-roman;

upper-roman

upper roman numbers as item markers.

list-style-type: upper-roman;

lower-greek

lower greek letters as item markers

list-style-type: lower-greek;

lower-latin

lower case latin letters as item markers

list-style-type: lower-latin;

upper-latin

upper case latin letters as item markers

list-style-type: upper-latin;

lower-alpha

lower alphabets as item markers.

list-style-type: lower-alpha;

upper-alpha

upper aphabets as item markers

list-style-type: upper-alpha;

armenian

armenian letters as item markers

list-style-type: armenian;

georgian

georgian letters as item markers

list-style-type: georgian;

Applicable to

It applies to list items.

#CSS digger
Was this article helpful?

 
  • First item
  • Second item
  • Third item
×

Ctrl+D