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