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