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