← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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