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