HTML Unordered List
An unordered list in HTML is used to display items using bullets. Learn how to create an unordered list in HTML.
It is suitable for listing items where the order doesn't matter. In this tutorial, we will learn how to create an unordered list in HTML.
Key Points
- No specific sequence is required.
- Typically displayed as bullet points.
- Defined using the
<ul>tag. - Individual items use the
<li>tag.
Syntax of an Unordered List
<ul>
<li>Pen</li>
<li>Pencil</li>
<li>Eraser</li>
</ul>Output of an Unordered List
• Pen
• Pencil
• EraserCustomizing Bullet Points with 'type' Attribute
You can specify the style of bullet points using the type attribute. It supports three values:
- disc (default bullet style)
- square
- circle
Example Using Square Bullets
<ul type="square">
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul>Output of Square Bullets
▪ Red
▪ Green
▪ BlueExample Using Circle Bullets
<ul type="circle">
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>Output of Circle Bullets
◦ Apple
◦ Orange
◦ BananaConclusion
In this tutorial, we learned how to create an unordered list in HTML. We also explored customizing bullet points using the type attribute. Unordered lists are ideal for displaying items where the order doesn't matter.
How is this guide?
Sign in to share your feedback
Help us improve by sharing your thoughts on this guide.
Last updated on
HTML Ordered List
An ordered list in HTML is used to display items in a numerical sequence. Learn how to create an ordered list in HTML.
HTML Definition List
An HTML definition list is used to display items in a dictionary-like format. Learn how to create a definition list in HTML.
© 2026CoderrShyamAll Rights Reserved.