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

Answer key

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

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