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