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