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

Answer key

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

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