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