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