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

Answer key

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

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