ScanSkill

list-style

The list-style property defines the style of listing of the items.

Syntax

list-style: list-style-type list-style-position list-style-image | none;

first value is list-style-type , the second value is list-style-position and the third value is list-style-image

Example

        .div-1 > li {
            list-style: circle inside none;
        }

        .div-2 > li {
            list-style: none;
        }
list-style

Property Values

list-style-type: sets the type of list items marker. (default value id "disc")

list-style-position: defines where to place the list-style-type. (default value id "outside")

list-style-image: sets the type of list items image. (default value id "none")

none: sets no list style.