← Paragraphs and line breaks lesson New set →

HTML Worksheet: Paragraphs and Line Breaks

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

Answer key

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

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