py-1 [&>p]:inline

List item typically refers to a single entry within a list (ordered or unordered). Key points:

  • Purpose: Presents one unit of information inside a list to improve readability and structure.
  • Forms: Can be plain text, a sentence, a phrase, a paragraph, or a complex block containing images, links, or nested lists.
  • Syntax (common formats):
    • Markdown unordered: - item or item
    • Markdown ordered: 1. item
    • HTML:
    • Item
    • inside

        or

    • Accessibility: Use semantic markup (HTML
        /

          /

        1. ) and meaningful concise text; for complex items, include ARIA roles/labels when needed.
        2. Styling: Can be customized with bullets, numbers, icons, indentation, or CSS for visual hierarchy.
        3. Best practices:
          • Keep items parallel in structure and length.
          • Use concise phrasing; expand only when necessary.
          • Group related items and use nesting for sub-items.

Your email address will not be published. Required fields are marked *