← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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