← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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