← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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