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

Answer key

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

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