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