The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.
- What is the use of list-style-type property in HTML?
- How do you use the list style property?
- What are the possible value of the list-style-type property?
What is the use of list-style-type property in HTML?
The list-style-type specifies the type of list-item marker in a list.
How do you use the list style property?
The list-style property can be applied to <ol>, <ul> or <li> tags. The list-style applies to elements with display: list-item. When using the list-style property, you can provide one or all of the values (list-style-type, list-style-position and list-style-image values) and they can be provided in any order.
What are the possible value of the list-style-type property?
list-style-type: disc|circle|square|decimal|lower-roman|upper-roman| lower-greek|lower-latin|upper-latin|lower-alpha|upper-alpha|none| inherit; Property values: disc:This is the default value.