← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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