← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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