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