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

Answer key

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

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