An unordered list is a way to present a group of items without implying order or priority. Common uses: feature lists, examples, short collections.
Key points
- Marker style: items are prefixed with bullets (•), dashes (-), or other symbols.
- No numeric sequence: items are considered equal in importance.
- Use when order doesn’t matter or when you want a simple, scannable block.
- Readability: keep items short and parallel in structure.
- Nesting: unordered lists can contain nested lists (unordered or ordered) for hierarchy.
- Accessibility: use proper semantic markup (e.g.,
- in HTML) so screen readers announce it as a list.
Examples
- Plain text:
- Apple
- Banana
- Cherry
- Markdown:
- Item one
- Item two
- Item three
- HTML:
html
<ul><li>Item one</li> <li>Item two</li></ul>
When to prefer unordered over ordered
- Use unordered when sequence, steps, or ranking isn’t required. Use ordered lists for instructions, ranked items, or any case where position matters.
Leave a Reply