Coding for All
Lesson 5: Bullet Lists
Bullet Lists Turn items into a proper bulleted list.
1<h1>Best Toppings</h1>
2<ul>
3 <li>Cheese</li>
4 <li>Mushroom</li>
5 <li>Olive</li>
6</ul>
Terminal
Every line, explained
<h1>Best Toppings</h1>
A title for the list.
<ul>
<ul> starts an unordered list: "unordered" means the items get bullet points, not numbers. The list items go inside.
<li>Cheese</li>
<li> is a list item: one bullet's worth of content. It only makes sense inside a list tag, so it is indented to show it belongs to the list around it.
<li>Mushroom</li>
Another item, another bullet. Add as many as you like.
<li>Olive</li>
One more. The browser draws the bullets for you; you never type them.
</ul>
</ul> closes the bulleted list. Everything between <ul> and </ul> is part of the list.