← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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