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

Answer key

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

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