← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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