← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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