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