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