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

Answer key

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

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