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

Answer key

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

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