← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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