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