View video tutorial
CSS Lists
CSS
There are some CSS properties that can be used to control the list.
CSS list properties
➔ The CSS list properties is used to control the list.
➔ Lists can be classified as ordered lists, unordered lists and definition lists.
➔ The following CSS properties can be use to style the lists.
list-style-typelist-style-imagelist-style-positionlist-style(shorthand)marker-offset
Example
#p1 {
list-style-type: circle;
}
#p2 {
list-style-type: square;
}
#p3 {
list-style-type: lower-alpha;
}
Click on the "Try it Now" button to see how it works.