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