List-item
A list item is a single entry within a list structure used to organize content. Common contexts and details:
- Formats:
- Unordered lists (bulleted) use list items to group related, non-sequential points.
- Ordered lists (numbered) use list items when sequence or priority matters.
- HTML:
- Represented with the
- tag inside
- (unordered) or
- Markdown:
- Unordered: start lines with
-,*, or+. - Ordered: start lines with
1.,2., etc.
- Unordered: start lines with
- Accessibility:
- Use semantic list markup so screen readers convey grouping and count of items.
- Include clear, concise text for each list item.
- Best practices:
- Keep items short and focused.
- Use parallel structure (same grammatical form).
Leave a Reply