← Lists: ul, ol and li lesson New set →

HTML Worksheet: Lists ul ol li

HTML and CSS lesson 5: Lists: ul, ol and li · Set 36 · 40 questions
TalentJR

Code tip (Bullets or numbers?): <ul> = bullets (any order); <ol> = numbers (in order); each item is <li> … </li>. Count the <li> tags to know how many items show. <ol start="3"> starts counting at 3: item 1 shows 3, item 2 shows 4 …

NameDateTime takenScore ___ / 40
  1. 1.📋 How many items does this list show?
    <ul>
      <li>Banana</li>
      <li>Orange</li>
      <li>Mango</li>
    </ul>
  2. 2.True or false: <ol> is an ordered list. (a) True (b) False
  3. 3.True or false: <ol> shows bullet points. (a) False (b) True
  4. 4.📋 Which tag goes around each item of a list? (a) <ol> (b) <p> (c) <ul> (d) <li>
  5. 5.📋 How many items does this list show?
    <ol>
      <li>Banana</li>
      <li>Grapes</li>
    </ol>
  6. 6.📋 How many items does this list show?
    <ul>
      <li>Banana</li>
      <li>Mango</li>
      <li>Litchi</li>
      <li>Orange</li>
    </ul>
  7. 7.📋 Which list tag goes inside ul or ol? (a) <li> (b) <ol> (c) <ul>
  8. 8.True or false: <ol> lists things in any order. (a) False (b) True
  9. 9.True or false: <ol> is one item of a list. (a) True (b) False
  10. 10.📋 How many items does this list show?
    <ol>
      <li>Jamun</li>
      <li>Guava</li>
      <li>Banana</li>
      <li>Papaya</li>
      <li>Litchi</li>
    </ol>
  11. 11.📋 How many items does this list show?
    <ul>
      <li>Jamun</li>
      <li>Grapes</li>
      <li>Guava</li>
      <li>Orange</li>
      <li>Mango</li>
    </ul>
  12. 12.📋 How many items does this list show?
    <ol>
      <li>Grapes</li>
      <li>Litchi</li>
      <li>Mango</li>
      <li>Guava</li>
    </ol>
  13. 13.📋 What number does the browser show next to “Litchi”?
    <ol start="6">
      <li>Mango</li>
      <li>Litchi</li>
      <li>Guava</li>
      <li>Jamun</li>
      <li>Papaya</li>
    </ol>
  14. 14.📋 Which list tag lists things in any order? (a) <ul> (b) <li> (c) <ol>
  15. 15.📋 How many items does this list show?
    <ol>
      <li>Jamun</li>
      <li>Orange</li>
      <li>Guava</li>
    </ol>
  16. 16.📋 Which list tag shows 1, 2, 3 numbers? (a) <ul> (b) <li> (c) <ol>
  17. 17.📋 How many items does this list show?
    <ul>
      <li>Mango</li>
      <li>Litchi</li>
      <li>Grapes</li>
      <li>Jamun</li>
      <li>Papaya</li>
      <li>Guava</li>
    </ul>
  18. 18.True or false: <li> shows 1, 2, 3 numbers. (a) True (b) False
  19. 19.📋 Which list suits a shopping list in any order? (a) <br> (b) <ul> (c) <hr> (d) <ol>
  20. 20.📋 Which list shows the steps of a recipe best? (a) <ul> (b) <hr> (c) <ol> (d) <br>
  21. 21.📋 How many items does this list show?
    <ol>
      <li>Grapes</li>
      <li>Banana</li>
      <li>Guava</li>
    </ol>
  22. 22.True or false: <ul> shows 1, 2, 3 numbers. (a) True (b) False
  23. 23.📋 Does this list show bullets or numbers?
    <ul>
      <li>Grapes</li>
      <li>Orange</li>
      <li>Papaya</li>
    </ul>
    (a) numbers (b) bullets
  24. 24.📋 What number does the browser show next to “Litchi”?
    <ol>
      <li>Papaya</li>
      <li>Mango</li>
      <li>Guava</li>
      <li>Litchi</li>
      <li>Jamun</li>
    </ol>
  25. 25.📋 How many items does this list show?
    <ol>
      <li>Orange</li>
      <li>Mango</li>
      <li>Banana</li>
      <li>Jamun</li>
      <li>Grapes</li>
      <li>Litchi</li>
    </ol>
  26. 26.True or false: <ol> goes inside ul or ol. (a) False (b) True
  27. 27.True or false: <ol> lists steps in order. (a) False (b) True
  28. 28.📋 Which list tag shows bullet points? (a) <ol> (b) <li> (c) <ul>
  29. 29.📋 What number does the browser show next to “Guava”?
    <ol>
      <li>Orange</li>
      <li>Guava</li>
      <li>Jamun</li>
      <li>Banana</li>
      <li>Grapes</li>
    </ol>
  30. 30.True or false: <li> is an unordered list. (a) False (b) True
  31. 31.📋 Does this list show bullets or numbers?
    <ul>
      <li>Guava</li>
      <li>Grapes</li>
    </ul>
    (a) bullets (b) numbers
  32. 32.📋 Which list tag is an ordered list? (a) <ul> (b) <li> (c) <ol>
  33. 33.📋 What number does the browser show next to “Litchi”?
    <ol start="3">
      <li>Jamun</li>
      <li>Mango</li>
      <li>Litchi</li>
    </ol>
  34. 34.📋 How many items does this list show?
    <ol>
      <li>Guava</li>
      <li>Papaya</li>
      <li>Grapes</li>
      <li>Mango</li>
      <li>Jamun</li>
      <li>Orange</li>
    </ol>
  35. 35.📋 How many items does this list show?
    <ol>
      <li>Grapes</li>
      <li>Mango</li>
      <li>Orange</li>
    </ol>
  36. 36.📋 Does this list show bullets or numbers?
    <ul>
      <li>Grapes</li>
      <li>Orange</li>
    </ul>
    (a) numbers (b) bullets
  37. 37.True or false: <ul> lists steps in order. (a) True (b) False
  38. 38.📋 How many items does this list show?
    <ol>
      <li>Guava</li>
      <li>Orange</li>
    </ol>
  39. 39.📋 How many items does this list show?
    <ul>
      <li>Mango</li>
      <li>Orange</li>
      <li>Grapes</li>
      <li>Litchi</li>
      <li>Banana</li>
      <li>Papaya</li>
    </ul>
  40. 40.📋 What number does the browser show next to “Orange”?
    <ol start="4">
      <li>Guava</li>
      <li>Banana</li>
      <li>Mango</li>
      <li>Orange</li>
    </ol>

Answer key

  1. 3
  2. True
  3. False
  4. <li>
  5. 2
  6. 4
  7. <li>
  8. False
  9. False
  10. 5
  11. 5
  12. 4
  13. 7
  14. <ul>
  15. 3
  16. <ol>
  17. 6
  18. False
  19. <ul>
  20. <ol>
  21. 3
  22. False
  23. bullets
  24. 4
  25. 6
  26. False
  27. True
  28. <ul>
  29. 2
  30. False
  31. bullets
  32. <ol>
  33. 5
  34. 6
  35. 3
  36. bullets
  37. False
  38. 2
  39. 6
  40. 7

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids