← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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