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

Answer key

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

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