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

Answer key

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

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