← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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