Examples might be items in an ingredient list and their descriptions, article authors and brief bios, or competition winners and the years in which they won. Description lists Description lists previously called definition lists, but renamed in HTML5 associate specific names and values within a list.
Is the order of the list items important? Shorthand List Style Property The list style properties discussed thus far, list-style-type and list-style-position, can be combined into one shorthand list-style property value.
They are also very flexible, as either ordered or unordered lists can be nested inside either ordered or unordered list items.
Lists are good from a structural point of view as they help create a well-structured, more accessible, easy-to-maintain document.
Finally, semantically correct lists help visitors read your web site, and they simplify maintenance when your pages need to be updated.
When using the list-style property, we can use one or all list style property values at a time. See Styling lists and links for more information.