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