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

Answer key

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

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