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