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