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

Answer key

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

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