← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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