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