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

Answer key

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

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