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

Answer key

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

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