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

Answer key

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

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