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