← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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