← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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