← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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