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

Answer key

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

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