← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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