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

Answer key

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

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