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

Answer key

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

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