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