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

Answer key

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

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