List-item
A list-item is an individual entry within a list. It can appear in ordered (numbered) or unordered (bulleted) lists and typically represents a single idea, step, or object.
Key points:
- Purpose: Breaks information into discrete, scannable units.
- Structure: Contains text and optionally inline elements (links, bold, code) or nested lists.
- Types: Ordered (sequence matters) and unordered (no specific order).
- Usage best practices:
- Keep each item concise (one idea per item).
- Use parallel structure (same grammatical form).
- Start items with a strong lead word when applicable.
- Limit nesting depth for readability.
- Accessibility: In HTML, marked up with
- or
- ; use clear semantics and proper headings for
Leave a Reply