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

Answer key

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

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