← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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