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