Introduction to CSS Lists
CSS provides styling options for lists, allowing you to customize list items and the appearance of bullets and numbers.
CSS List Properties
- list-style-type: Specifies the type of list item marker (e.g., disc, circle, square).
- list-style-position: Specifies whether the marker is inside or outside the list item.
- list-style-image: Replaces the marker with a custom image.
Example
ul {
list-style-type: square;
list-style-position: inside;
}
Browser Support
All major browsers support list properties.