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

Answer key

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

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