← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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