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

Answer key

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

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