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