← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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