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