← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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