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

Answer key

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

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