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

Answer key

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

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