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

Answer key

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

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