← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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