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

Answer key

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

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