← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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