Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS list-style-type definition

Syntax

list-style-type: disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none

Description

The list-style-type property specifies how the list item marker is displayed.

 

Values Description
disc
  • Disc style, this is the default value
circle
  • Circle type
square
  • Square type
decimal
  • Decimal type
lower-roman
  • Lower-roman type
upper-roman
  • upper-roman type
lower-alpha
  • lower-alpha type
upper-alpha
  • upper-alpha type
none
  • none

 

Example

[Try this example yourself]
<ul>
<li style="list-style-type: circle;">Circle type</li>
</ul>

Output

  • Circle type
  • Comments

No comments added.