HTML Worksheet: Headings h1 to h6
Code tip (Small number, big heading): There are 6 levels: <h1> (biggest, most important) to <h6> (smallest). Use one <h1> for the main title; <h2> for sections, <h3> for parts of a section. The smaller the number, the bigger the heading.
NameDateTime takenScore ___ / 40
-
1.🔠 How many headings are in this code?
<h1>Our school trip</h1>
<p>Rain today</p>
<h4>Hello, world!</h4>
<p>Good morning!</p>
<p>Hello, world!</p> - 2.🔠 How many heading levels does HTML have? (a) 6 (b) 10 (c) 4 (d) 3
- 3.🔠 Which heading shows the SMALLEST text: <h4>, <h3>, <h5> or <h6>? (a) <h3> (b) <h5> (c) <h4> (d) <h6>
- 4.🔠 Which heading shows the SMALLEST text: <h3>, <h5>, <h2> or <h1>? (a) <h3> (b) <h2> (c) <h5> (d) <h1>
-
5.🔠 How many headings are in this code?
<h1>Good morning!</h1>
<p>Rain today</p>
<h4>Rain today</h4> - 6.🔠 Which tag is used for the main title on a page? (a) <h1> (b) <p> (c) <h6> (d) <br>
-
7.🔠 How many headings are in this code?
<h1>Rain today</h1>
<h4>Fun facts</h4>
<p>Rain today</p> - 8.🔠 Which heading shows the SMALLEST text: <h4>, <h6>, <h1> or <h5>? (a) <h6> (b) <h4> (c) <h1> (d) <h5>
-
9.🔠 How many headings are in this code?
<h1>Hello, world!</h1>
<h2>I love mangoes.</h2>
<p>Hello, world!</p> - 10.🔠 Which heading shows the BIGGEST text: <h2>, <h1>, <h5> or <h6>? (a) <h5> (b) <h1> (c) <h2> (d) <h6>
- 11.🔠 Which heading shows the BIGGEST text: <h1>, <h3>, <h2> or <h4>? (a) <h2> (b) <h1> (c) <h3> (d) <h4>
-
12.🔠 How many headings are in this code?
<h1>Fun facts</h1>
<p>The red kite</p>
<p>The red kite</p> - 13.🔠 Which heading shows the SMALLEST text: <h4>, <h6>, <h3> or <h1>? (a) <h6> (b) <h1> (c) <h3> (d) <h4>
- 14.🔠 Which heading shows the BIGGEST text: <h6>, <h3>, <h5> or <h1>? (a) <h6> (b) <h1> (c) <h3> (d) <h5>
-
15.🔠 How many headings are in this code?
<h1>Rain today</h1>
<p>My pets</p>
<h4>Rain today</h4> -
16.🔠 How many headings are in this code?
<h1>Hello, world!</h1>
<p>Hello, world!</p>
<h3>My best friend</h3>
<p>Good morning!</p>
<h3>Cricket is fun.</h3> - 17.🔠 Which heading shows the BIGGEST text: <h1>, <h5>, <h2> or <h3>? (a) <h3> (b) <h5> (c) <h1> (d) <h2>
-
18.🔠 How many headings are in this code?
<h1>My pets</h1>
<p>My pets</p>
<p>Our school trip</p>
<p>Rain today</p> -
19.🔠 How many headings are in this code?
<h1>Our school trip</h1>
<p>I love mangoes.</p>
<p>Cricket is fun.</p>
<h2>Cricket is fun.</h2> - 20.🔠 Which heading shows the BIGGEST text: <h4>, <h1>, <h2> or <h3>? (a) <h4> (b) <h2> (c) <h3> (d) <h1>
- 21.🔠 Which heading shows the BIGGEST text: <h6>, <h1>, <h3> or <h2>? (a) <h1> (b) <h6> (c) <h2> (d) <h3>
- 22.🔠 Which heading shows the SMALLEST text: <h5>, <h6>, <h2> or <h4>? (a) <h5> (b) <h4> (c) <h2> (d) <h6>
- 23.🔠 Which heading shows the BIGGEST text: <h5>, <h4>, <h1> or <h6>? (a) <h1> (b) <h5> (c) <h4> (d) <h6>
- 24.🔠 Which heading shows the BIGGEST text: <h6>, <h1>, <h2> or <h5>? (a) <h6> (b) <h5> (c) <h2> (d) <h1>
- 25.🔠 Which heading shows the SMALLEST text: <h1>, <h4>, <h2> or <h5>? (a) <h2> (b) <h5> (c) <h4> (d) <h1>
- 26.🔠 Which heading shows the BIGGEST text: <h2>, <h5>, <h1> or <h4>? (a) <h4> (b) <h5> (c) <h2> (d) <h1>
- 27.🔠 Are headings shown in bold by default? (a) Yes (b) No
- 28.🔠 Which heading shows the BIGGEST text: <h4>, <h3>, <h1> or <h5>? (a) <h5> (b) <h1> (c) <h4> (d) <h3>
- 29.🔠 Which heading shows the BIGGEST text: <h4>, <h5>, <h1> or <h3>? (a) <h3> (b) <h4> (c) <h5> (d) <h1>
- 30.🔠 Which heading shows the SMALLEST text: <h2>, <h3>, <h5> or <h4>? (a) <h4> (b) <h2> (c) <h3> (d) <h5>
-
31.🔠 How many headings are in this code?
<h1>My pets</h1>
<p>My best friend</p>
<h4>Fun facts</h4>
<p>Our school trip</p> - 32.🔠 Which heading shows the SMALLEST text: <h4>, <h1>, <h5> or <h3>? (a) <h5> (b) <h1> (c) <h3> (d) <h4>
- 33.🔠 Which heading shows the BIGGEST text: <h4>, <h5>, <h2> or <h6>? (a) <h5> (b) <h2> (c) <h6> (d) <h4>
- 34.🔠 Which heading shows the BIGGEST text: <h3>, <h5>, <h1> or <h4>? (a) <h3> (b) <h4> (c) <h5> (d) <h1>
- 35.🔠 Which heading shows the SMALLEST text: <h3>, <h2>, <h5> or <h4>? (a) <h5> (b) <h2> (c) <h4> (d) <h3>
- 36.🔠 Which heading shows the SMALLEST text: <h2>, <h4>, <h6> or <h5>? (a) <h2> (b) <h4> (c) <h6> (d) <h5>
-
37.🔠 How many headings are in this code?
<h1>Cricket is fun.</h1>
<h4>Cricket is fun.</h4>
<h2>Cricket is fun.</h2>
<h3>My pets</h3> -
38.🔠 How many headings are in this code?
<h1>I love mangoes.</h1>
<h3>Rain today</h3>
<h3>Hello, world!</h3> - 39.🔠 Which heading shows the BIGGEST text: <h2>, <h1>, <h6> or <h3>? (a) <h6> (b) <h1> (c) <h3> (d) <h2>
-
40.🔠 How many headings are in this code?
<h1>My best friend</h1>
<p>Our school trip</p>
<p>Good morning!</p>
Answer key
- 2
- 6
- <h6>
- <h5>
- 2
- <h1>
- 2
- <h6>
- 2
- <h1>
- <h1>
- 1
- <h6>
- <h1>
- 2
- 3
- <h1>
- 1
- 2
- <h1>
- <h1>
- <h6>
- <h1>
- <h1>
- <h5>
- <h1>
- Yes
- <h1>
- <h1>
- <h5>
- 2
- <h5>
- <h2>
- <h1>
- <h5>
- <h6>
- 4
- 3
- <h1>
- 1
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids