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