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

Answer key

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

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