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

Answer key

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

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