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

Answer key

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

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