unordered-list

An unordered list is a way to present a group of related items where order doesn’t matter. Common uses include feature lists, short examples, or menu items.

Key points:

  • Purpose: show items without implied sequence.
  • Markers: typically bullets (•), discs, circles, or squares.
  • HTML: use the
      element with each item inside an

    • .
    • Markdown: create with lines starting with -, , or + followed by a space
    • Accessibility: use proper semantic markup (e.g.,
        /

      • ) so screen readers announce it as a list.
      • Nesting: you can place lists inside list items to create sublists.
      • Styling: bullets and spacing can be changed with CSS or custom formatting.
      • When to use: when the order of items is irrelevant; use numbered (ordered) lists when sequence matters.*

Comments

Leave a Reply

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