An unordered list is a way to present a set of items where order doesn’t matter. Key points:
- Appearance: Items are typically preceded by bullets (•), discs, circles, or squares.
- Use cases: Grouping related but not sequential items (features, examples, options, short lists).
- element with
- children. Example:
- First item
- Second item
- Markdown: Use hyphens (-), asterisks (*), or plus signs (+) at line starts:
- Item one
- Item two
- Accessibility: Ensure list semantics are preserved (avoid using visuals only); screen readers announce list length and help navigation.
- Styling: CSS can change bullet type (list-style-type), position, or replace bullets with images.
Leave a Reply