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

Answer key

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

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