Style listStylePosition Property
Style listStylePosition Property
The listStylePosition property is used to set or return the position of the list-item marker.
Syntax:-
Its syntax is:- object.style.listStylePosition OR object.style.listStylePosition = outside | inside | initial | inherit
Return:-
Its return is:- string containing position of the list-item marker
Further Explanation:-
Value | Description |
---|---|
outside | The list-item marker will be rendered before any text content. |
inside | Indents list-item marker. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |