← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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