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

Answer key

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

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