← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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