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

Answer key

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

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