← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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