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