← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

HTML and CSS lesson 4: Paragraphs and line breaks · Set 90 · 40 questions
TalentJR

Code tip (One p, one paragraph): Each <p> … </p> pair is one paragraph. Each <br> starts a new line: lines shown = number of <br> + 1. Empty tags (<br>, <img>, <hr>, <input>, <meta>) have no closing tag.

NameDateTime takenScore ___ / 40
  1. 1.True or false: <li> is an empty tag. (a) False (b) True
  2. 2.📝 On how many lines does the browser show this paragraph?
    <p>Sky is blue<br>Birds sing<br>Stars shine<br>Kites fly high<br>Rivers flow</p>
  3. 3.📝 How many paragraphs does this code make?
    <p>My pets</p>
    <p>Our school trip</p>
    <p>Rain today</p>
  4. 4.📝 On how many lines does the browser show this paragraph?
    <p>Sky is blue<br>Birds sing<br>Rivers flow</p>
  5. 5.Which of these is an empty tag? (a) <title> (b) <li> (c) <p> (d) <meta>
  6. 6.📝 On how many lines does the browser show this paragraph?
    <p>Sky is blue<br>Roses are red<br>Stars shine<br>Birds sing</p>
  7. 7.True or false: <li> has a closing tag. (a) True (b) False
  8. 8.True or false: <title> is an empty tag. (a) False (b) True
  9. 9.📝 Does <li> have a closing tag, or is it an empty tag? (a) an empty tag (b) has a closing tag
  10. 10.📝 Does <br> have a closing tag, or is it an empty tag? (a) has a closing tag (b) an empty tag
  11. 11.📝 What does <hr> draw? (a) a picture (b) a table (c) a link (d) a line across the page
  12. 12.📝 What does <p> make? (a) a table (b) a link (c) a picture (d) a paragraph
  13. 13.📝 How many paragraphs does this code make?
    <p>Cricket is fun.</p>
    <p>Cricket is fun.</p>
    <p>Good morning!</p>
  14. 14.Which of these has a closing tag? (a) <input> (b) <hr> (c) <meta> (d) <ul>
  15. 15.True or false: <img> is an empty tag. (a) True (b) False
  16. 16.📝 On how many lines does the browser show this paragraph?
    <p>Sky is blue<br>Stars shine</p>
  17. 17.📝 How many paragraphs does this code make?
    <p>My pets</p>
    <p>Our school trip</p>
    <p>Fun facts</p>
    <h2>Fun facts</h2>
    <p>I love mangoes.</p>
  18. 18.Which of these has a closing tag? (a) <meta> (b) <br> (c) <img> (d) <li>
  19. 19.📝 Does <title> have a closing tag, or is it an empty tag? (a) has a closing tag (b) an empty tag
  20. 20.📝 Does <b> have a closing tag, or is it an empty tag? (a) an empty tag (b) has a closing tag
  21. 21.📝 On how many lines does the browser show this paragraph?
    <p>Sky is blue<br>Rivers flow<br>Kites fly high</p>
  22. 22.Which of these is an empty tag? (a) <p> (b) <title> (c) <h1> (d) <br>
  23. 23.📝 On how many lines does the browser show this paragraph?
    <p>Kites fly high<br>Rivers flow</p>
  24. 24.📝 How many paragraphs does this code make?
    <p>My pets</p>
    <p>I love mangoes.</p>
    <p>Good morning!</p>
  25. 25.True or false: <meta> has a closing tag. (a) True (b) False
  26. 26.Which of these has a closing tag? (a) <meta> (b) <br> (c) <input> (d) <b>
  27. 27.📝 On how many lines does the browser show this paragraph?
    <p>Stars shine<br>Sky is blue<br>Roses are red<br>Rivers flow</p>
  28. 28.📝 On how many lines does the browser show this paragraph?
    <p>Rivers flow<br>Roses are red<br>Birds sing<br>Kites fly high<br>Stars shine</p>
  29. 29.Which of these is an empty tag? (a) <h1> (b) <li> (c) <title> (d) <input>
  30. 30.📝 On how many lines does the browser show this paragraph?
    <p>Birds sing<br>Roses are red</p>
  31. 31.📝 On how many lines does the browser show this paragraph?
    <p>Stars shine<br>Sky is blue<br>Birds sing<br>Roses are red</p>
  32. 32.True or false: <ul> is an empty tag. (a) True (b) False
  33. 33.📝 On how many lines does the browser show this paragraph?
    <p>Birds sing<br>Sky is blue<br>Stars shine<br>Roses are red<br>Rivers flow</p>
  34. 34.📝 How many paragraphs does this code make?
    <p>Good morning!</p>
    <h2>I love mangoes.</h2>
    <p>The red kite</p>
  35. 35.📝 How many paragraphs does this code make?
    <p>My pets</p>
    <h2>My pets</h2>
    <p>Hello, world!</p>
    <h2>I love mangoes.</h2>
    <p>Hello, world!</p>
  36. 36.Which of these has a closing tag? (a) <meta> (b) <title> (c) <input> (d) <br>
  37. 37.📝 On how many lines does the browser show this paragraph?
    <p>Sky is blue<br>Rivers flow<br>Stars shine</p>
  38. 38.📝 On how many lines does the browser show this paragraph?
    <p>Stars shine<br>Roses are red<br>Birds sing<br>Sky is blue</p>
  39. 39.Which of these has a closing tag? (a) <img> (b) <p> (c) <hr> (d) <br>
  40. 40.📝 On how many lines does the browser show this paragraph?
    <p>Roses are red<br>Kites fly high</p>

Answer key

  1. False
  2. 5
  3. 3
  4. 3
  5. <meta>
  6. 4
  7. True
  8. False
  9. has a closing tag
  10. an empty tag
  11. a line across the page
  12. a paragraph
  13. 3
  14. <ul>
  15. True
  16. 2
  17. 4
  18. <li>
  19. has a closing tag
  20. has a closing tag
  21. 3
  22. <br>
  23. 2
  24. 3
  25. False
  26. <b>
  27. 4
  28. 5
  29. <input>
  30. 2
  31. 4
  32. False
  33. 5
  34. 2
  35. 3
  36. <title>
  37. 3
  38. 4
  39. <p>
  40. 2

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