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