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

Answer key

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

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