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