HTML Unordered List

Sometimes you’ve got a bunch of things to throw on your webpage—like favorite movies, grocery items, or random thoughts—and numbering them feels overkill. That’s when HTML unordered lists step up. With the <ul> tag, you get bullet points that make everything look clean without any fuss. Let’s check it out!

Here’s how it works:

<ul>
<li>Chocolate</li>
<li>Chips</li>
<li>Ice cream</li>
</ul>

Open that in a browser, and you’ll see:

  1. Chocolate
  2. Chips
  3. Ice cream

The <ul> (unordered list) sets the stage, and each <li> (list item) gets a bullet — usually a dot, but browsers might tweak it. It’s perfect when order doesn’t matter, just presentation.

I’ve messed with these a ton. You can nest them too, like this:

<ul>
<li>Pets
<ul>
<li>Cat</li>
<li>Dog</li>
</ul>
</li>
<li>Plants</li>
</ul>

That gives you “Pets” with “Cat” and “Dog” indented under it; great for breaking things down. I tried it once for a project outline, and it made my brain feel less scrambled.

One thing I’ve noticed: you don’t have to close <li> tags, <li> Cat works fine; but I do it anyway for neatness. Also, bullets are the default, but you can tweak them later with CSS if you want squares or circles (that’s a future adventure). For now, <ul> keeps it simple and sharp.


Here’s one I’ve used:

<ul>
<li>Learn HTML</li>
<li>Drink coffee</li>
<li>Repeat</li>
</ul>

It’s my daily vibe, all bulleted and ready. Next time you’re coding, try a <ul> for anything list. it’s like giving your ideas a quick, no-pressure lineup!

How-To Guides for HTML

No How-To Guide is available right now.

Keep Learning & Level Up!

Enhance your HTML skills with our in-depth tutorials and interactive quizzes.

Explore HTML Quiz