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