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

Answer key

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

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