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

Answer key

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

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