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