← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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