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