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