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