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

Answer key

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

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