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

Answer key

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

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