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

Answer key

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

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