← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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