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

Answer key

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

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