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

Answer key

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

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