← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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