The <ul> element creates an unordered, or bulleted, list. Use it when items belong together but do not need to appear in numeric order, such as groceries, tasks, traits, or course prerequisites. The browser adds the bullets automatically, so you do not type them yourself. section 3.13 section 3.16
Build a bulleted list in two small steps:
- Wrap the complete list in opening and closing <ul> tags. section 3.17
- Put each item between opening and closing <li> tags. section 3.17
- Let the browser display each item with a bullet and indentation. section 3.16
A simple list
A grocery list might look like this: <ul> <li>Apples</li> <li>Oats</li> <li>Tea</li> </ul> The browser turns each <li> into a separate bulleted entry. For practice, replace these items with tasks for today or features of an object. section 3.16 section 3.17
Bullets are filled circles by default. Change their appearance with the CSS list-style-type property; available styles include filled circles, unfilled circles, and squares. section 3.17
<li>Item text</li>
Use the item pattern inside a <ul> container, repeating it once for every list entry. section 3.16


