Skip to content

03. Unordered Lists

Unordered lists (<ul>) display items in a list format without a specific order or sequence. They’re commonly used for navigation menus, feature lists, and collections where order doesn’t matter. Unordered lists are rendered with bullet points by default.

<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ul>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
<ul>
<li>Fast performance</li>
<li>Secure</li>
<li>Easy to use</li>
</ul>

Customize bullet points with CSS:

<ul class="custom-list">
<li>Item</li>
</ul>
<style>
.custom-list {
list-style-type: square;
list-style-position: inside;
}
</style>