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

Answer key

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

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