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

Answer key

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

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