--- url: "https://web.dev/learn/html/lists" titulek: "Lists | web.dev" h1: "Lists Stay organized with collections Save and categorize content based on your preferences." popis: "Lists and other ways of grouping your content." jazyk: "en" kanonicka: "https://web.dev/learn/html/lists" drobecky: ["web.dev", "Resources", "HTML"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 23:12:54" znaku: 13948 slov: 2284 kodovani: "iso-8859-2" sha256: "fff6ec77b4811667977e0c3bda173d90017baaf504e357a540a2c8f13f97a36c" --- Lists Stay organized with collections Save and categorize content based on your preferences. Lists are more common than you might think. If you've ever taken a programming class, the first project may have been to create a shopping list or a to-do list. Those are lists. Multiple-choice tests are generally numbered lists of questions: the multiple possible answers for each question are nested lists. HTML provides us with a few different ways to mark up lists. There are ordered lists (`
    `), unordered lists (`
` is required. We can nest lists, but they have to be nested within a list item. Remember, the only element that can be a child of a `