← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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