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