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

Answer key

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

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