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