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

Answer key

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

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