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