An unordered list is a way to present items without implying order or priority. Key points:
- Purpose: Group related items where sequence doesn’t matter (features, examples, options).
- HTML:
- with each item in
- .
- Markdown: lines starting with -, , or +.
- Plain text: bullets (•), hyphens (-), or asterisks ().
- Best practices:
- Keep items parallel (same grammatical form).
- Use short items; if an item needs detail, use a sentence or nested list.
- Don’t mix ordered/unordered semantics—use ordered lists when sequence matters.
- Limit nesting depth (1–2 levels) for readability.
- In HTML, use
- so screen readers announce a list.
- Provide a clear heading or introductory sentence when context is needed.
- Use consistent bullet style and spacing.
Leave a Reply