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

Answer key

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

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