← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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