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

Answer key

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

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