# Lists and Collections

Lists and Collections: Lists Hold Collections: ul, ol and What the Browser Adds, Styling a List That Stays a List, Lists as Containers: Strip the Defaults,…

Updated: November 14, 2026

1. [Lists Hold Collections: ul, ol and What the Browser Adds](https://www.ask-codey.com/lessons/css-lists-hold-collections) (Apprentice): Menus, pet cards, tags and steps are collections of similar things, and writing them as a ul or an ol tells a screen reader how many there are, while the browser adds bullets, an indent and margins you can find in the developer tools.
2. [Styling a List That Stays a List](https://www.ask-codey.com/lessons/css-styling-lists) (Apprentice): When a list should still look like a list, list-style-type, list-style-position, the list-style shorthand and ::marker change its bullets and numbers, and a few spacing rules make long and nested lists comfortable to read.
3. [Lists as Containers: Strip the Defaults, Style the Items](https://www.ask-codey.com/lessons/css-lists-as-containers) (Apprentice): Many lists shouldn't look like lists at all, so you strip one list's bullets, indent and margins with three declarations on its class, then style each li as a box, such as a card or a menu row with a link that fills it.
4. [Lists Side by Side, by Hand](https://www.ask-codey.com/lessons/css-lists-side-by-side) (Apprentice): A menu across the top of a page and a row of tag pills are lists whose items sit side by side, and display inline-block does it by hand, with the gap the HTML's spaces add, vertical-align and text-align to line the row up, and wrapping that comes free.

Source: https://www.ask-codey.com/courses/css-in-depth/topics/css-lists-and-collections
