An unordered list is a way to present multiple related items where order doesn’t matter. It’s commonly used in documents, web pages (HTML), and markdown.
Key points:
- Purpose: group items without implying sequence or priority.
- Visuals: typically shown with bullets (•), squares, or other markers.
- HTML: use the
- element with each item in
- .
- Markdown: start lines with -, +, or * followed by a space.
- Nesting: lists can be nested by indenting subsequent list blocks.
- Accessibility: include clear headings and concise items; use semantic markup (
- /
- ) so screen readers announce lists.
- Use cases: features, tips, ingredients, components, non-ordered tasks.
Leave a Reply