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