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

Answer key

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

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