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