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

Answer key

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

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