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