← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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