An unordered list is a way to present a group of related items without implying any order or ranking. Key points:
- Purpose: show items where sequence doesn’t matter (features, examples, ingredients).
- Visuals: typically rendered with bullets (●, ◦, —) or icons.
- element containing
- items.
- Markdown: created by starting lines with -, , or +
- /
- ) so screen readers announce list structure; provide clear item text and avoid putting complex interactive controls directly inside list items without proper ARIA roles.
- Styling: CSS can change bullet type, spacing, indentation, or replace bullets with images/icons.
- Nesting: lists can be nested (unordered inside ordered or vice versa) for hierarchical grouping; keep nesting shallow for readability.
Leave a Reply