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