← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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