← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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