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