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