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

Answer key

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

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