← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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