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