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

Answer key

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

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