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