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