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

Answer key

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

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