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

Answer key

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

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