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

Answer key

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

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