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

Answer key

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

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