← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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