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