An unordered list in HTML is used to display a list of items where the order doesn't matter. It's created using the <ul>
(unordered list) tag, and each item within the list is placed inside an <li>
(list item) tag
list-style-type
Values:
Attribute Value
|
Description
|
---|---|
disc
|
Filled circle (default)
|
circle
|
Hollow circle
|
square
|
Square
|
none
|
No bullets
|
Try it yourself
Unordered lists can be nested inside each other to create sub-lists.
Try it yourself
For more control over styling, you can use CSS classes.
Try it yourself