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

Answer key

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

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