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

Answer key

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

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