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

Answer key

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

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