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