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

Answer key

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

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