← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

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