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