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