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