← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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