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

Answer key

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

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