← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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