← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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