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