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