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