CSS | list-style Property
The list-style property in CSS is used to set the list style. This property is a combination of three other properties list-style-type, list-style-position, and list-style-image as can be used as a shorthand notation for these three properties.
list-style: list-style-type list-style-position list-style-image| initial|inherit;
- list-style-type:This value sets the marker (such as a disc, character, or custom counter style) of a list item element.It’s default value is disc.
- list-style-position:This value sets the position of the marker relative to a list item.It’s default value is “outside”.
- list-style-image:This value sets an image to be used as the list item marker. It’s default value is “none”.
Note:If no list-style-image is specified than it is taken none.
Supported Browsers: The browser supported by list-style property are listed below:
- Google Chrome 1.0
- Internet Explorer 4.0
- Firefox 1.0
- Opera 7.0
- Apple Safari 1.0
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.