← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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