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

Answer key

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

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