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

Answer key

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

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