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

Answer key

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

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