← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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