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