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