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