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