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

Answer key

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

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