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

Answer key

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

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