← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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