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