← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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