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

Answer key

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

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