← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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