← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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