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

Answer key

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

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