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