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

Answer key

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

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