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

Answer key

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

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