← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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