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

Answer key

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

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