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

Answer key

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

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