How To

How to create an unordered list in HTML?

Updated On: 2024-06-02

HTML unordered list (<ul>) is used to create a list of items where the order of items does not matter.

Each item in the list is represented by a <li> (list item) element. The default bullet style for items in an unordered list is a filled circle (disc), but we can  change it using CSS.

Basic Unordered List in HTML

Customizing unordered lists

We can customize the unordered lists using it value like disc, circle and square. 

list-style-type: disc

list-style-type:circle

list-style-type: square

list-style-type:none;

Nested Unordered List

Horizontal Unordered List

Related video

Related Resources

For more information, you can use the following resources:

HTML Unordered Lists at Geeksforgeeks

The Unordered List element at mdn web docs

HTML Unordered Lists at W3schools

How to Create an Unordered List at FreeCodeCamp