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

Answer key

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

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