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

Answer key

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

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