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

Answer key

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

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