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

Answer key

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

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