A “list-item” typically refers to a single element within a list. Contexts and meanings:
- HTML/CSS: an element inside
- ,
- tag. It can contain text, links, images, or nested lists. Common properties styled with CSS include list-style-type, margin, padding, and display.
- UX / design: an individual row or entry within a vertical list (e.g., settings, messages). May include primary text, secondary text, icons, avatars, and actions (swipe, tap).
- Markdown: a line beginning with ”-” or ”*” (unordered) or “1.” (ordered) representing one item.
- Data structures / programming: an element within a list/array/linked list. Operations include access, insertion, deletion, traversal, and search.
- Accessibility: should use semantic markup (e.g.,
- /
- )
- /
- , or , usually represented by the
If you mean a specific “list-item” in a framework (React Native, Material UI, Bootstrap) or language, tell me which and I’ll give examples and best practices.
Leave a Reply