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

Answer key

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

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