← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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