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

Answer key

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

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