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

Answer key

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

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