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

Answer key

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

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