← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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