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