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