← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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