← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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