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