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>My best friend</h1>
<h2>Cricket is fun.</h2>
<h4>The red kite</h4>
<p>Cricket is fun.</p> - 2.🔠 Which tag is used for the main title on a page? (a) <h1> (b) <p> (c) <h6> (d) <br>
- 3.🔠 Which tag is the least important heading? (a) <h1> (b) <h3> (c) <h6> (d) <p>
-
4.🔠 How many headings are in this code?
<h1>My best friend</h1>
<h3>I love mangoes.</h3>
<h3>I love mangoes.</h3>
<h3>Our school trip</h3>
<p>I love mangoes.</p> - 5.🔠 Which heading shows the BIGGEST text: <h4>, <h1>, <h5> or <h2>? (a) <h2> (b) <h4> (c) <h5> (d) <h1>
-
6.🔠 How many headings are in this code?
<h1>My best friend</h1>
<p>Fun facts</p>
<p>Good morning!</p> - 7.🔠 Which heading shows the SMALLEST text: <h4>, <h1>, <h2> or <h3>? (a) <h1> (b) <h4> (c) <h3> (d) <h2>
- 8.🔠 Which heading shows the BIGGEST text: <h4>, <h5>, <h2> or <h6>? (a) <h6> (b) <h5> (c) <h2> (d) <h4>
- 9.🔠 Which heading shows the BIGGEST text: <h1>, <h4>, <h6> or <h3>? (a) <h4> (b) <h6> (c) <h3> (d) <h1>
- 10.🔠 Which heading shows the BIGGEST text: <h2>, <h5>, <h1> or <h4>? (a) <h4> (b) <h5> (c) <h2> (d) <h1>
- 11.🔠 Which heading shows the BIGGEST text: <h2>, <h4>, <h1> or <h6>? (a) <h2> (b) <h4> (c) <h1> (d) <h6>
- 12.🔠 Which heading shows the BIGGEST text: <h1>, <h3>, <h6> or <h2>? (a) <h6> (b) <h1> (c) <h2> (d) <h3>
- 13.🔠 Which heading shows the SMALLEST text: <h6>, <h2>, <h5> or <h3>? (a) <h5> (b) <h2> (c) <h3> (d) <h6>
- 14.🔠 How many <h1> headings should a page usually have? (a) 6 (b) 3 (c) 1 (d) 10
- 15.🔠 Which heading shows the BIGGEST text: <h3>, <h6>, <h2> or <h1>? (a) <h6> (b) <h1> (c) <h3> (d) <h2>
-
16.🔠 How many headings are in this code?
<h1>My pets</h1>
<p>Fun facts</p>
<p>Cricket is fun.</p>
<p>Rain today</p> - 17.🔠 Which heading shows the BIGGEST text: <h1>, <h2>, <h6> or <h3>? (a) <h6> (b) <h2> (c) <h3> (d) <h1>
- 18.🔠 Which heading shows the SMALLEST text: <h2>, <h3>, <h6> or <h4>? (a) <h2> (b) <h3> (c) <h4> (d) <h6>
- 19.🔠 Which heading shows the BIGGEST text: <h6>, <h4>, <h3> or <h2>? (a) <h3> (b) <h4> (c) <h2> (d) <h6>
- 20.🔠 How many heading levels does HTML have? (a) 3 (b) 6 (c) 10 (d) 4
-
21.🔠 How many headings are in this code?
<h1>Fun facts</h1>
<h4>I love mangoes.</h4>
<h2>Fun facts</h2>
<p>Hello, world!</p> - 22.🔠 Which heading shows the BIGGEST text: <h6>, <h1>, <h2> or <h3>? (a) <h3> (b) <h6> (c) <h1> (d) <h2>
- 23.🔠 Which heading shows the SMALLEST text: <h3>, <h1>, <h2> or <h6>? (a) <h3> (b) <h6> (c) <h1> (d) <h2>
- 24.🔠 Which heading shows the SMALLEST text: <h5>, <h1>, <h3> or <h6>? (a) <h5> (b) <h1> (c) <h3> (d) <h6>
- 25.🔠 Which heading shows the BIGGEST text: <h2>, <h6>, <h3> or <h4>? (a) <h4> (b) <h6> (c) <h2> (d) <h3>
- 26.🔠 Which heading shows the BIGGEST text: <h1>, <h3>, <h4> or <h5>? (a) <h3> (b) <h5> (c) <h4> (d) <h1>
- 27.🔠 Which heading shows the BIGGEST text: <h2>, <h1>, <h4> or <h5>? (a) <h2> (b) <h1> (c) <h4> (d) <h5>
-
28.🔠 How many headings are in this code?
<h1>Cricket is fun.</h1>
<p>The red kite</p>
<h2>Fun facts</h2>
<p>Fun facts</p> -
29.🔠 How many headings are in this code?
<h1>My best friend</h1>
<h3>My pets</h3>
<h2>Cricket is fun.</h2>
<h2>Good morning!</h2> -
30.🔠 How many headings are in this code?
<h1>My pets</h1>
<p>Rain today</p>
<h4>Hello, world!</h4> - 31.🔠 Which heading shows the BIGGEST text: <h5>, <h4>, <h2> or <h3>? (a) <h4> (b) <h5> (c) <h2> (d) <h3>
- 32.🔠 Which heading shows the BIGGEST text: <h4>, <h1>, <h6> or <h2>? (a) <h2> (b) <h1> (c) <h4> (d) <h6>
-
33.🔠 How many headings are in this code?
<h1>Good morning!</h1>
<h3>Cricket is fun.</h3>
<h2>Hello, world!</h2> - 34.🔠 Which heading shows the SMALLEST text: <h3>, <h4>, <h1> or <h2>? (a) <h4> (b) <h3> (c) <h2> (d) <h1>
-
35.🔠 How many headings are in this code?
<h1>My best friend</h1>
<p>Hello, world!</p>
<h4>The red kite</h4> - 36.🔠 Which heading shows the SMALLEST text: <h5>, <h3>, <h2> or <h6>? (a) <h6> (b) <h3> (c) <h5> (d) <h2>
- 37.🔠 Which heading shows the BIGGEST text: <h1>, <h6>, <h2> or <h3>? (a) <h3> (b) <h2> (c) <h6> (d) <h1>
- 38.🔠 Which heading shows the BIGGEST text: <h5>, <h3>, <h1> or <h4>? (a) <h5> (b) <h4> (c) <h3> (d) <h1>
-
39.🔠 How many headings are in this code?
<h1>Hello, world!</h1>
<h3>I love mangoes.</h3>
<h3>My pets</h3>
<p>My best friend</p> - 40.🔠 Which heading shows the SMALLEST text: <h2>, <h5>, <h4> or <h3>? (a) <h3> (b) <h2> (c) <h4> (d) <h5>
Answer key
- 3
- <h1>
- <h6>
- 4
- <h1>
- 1
- <h4>
- <h2>
- <h1>
- <h1>
- <h1>
- <h1>
- <h6>
- 1
- <h1>
- 1
- <h1>
- <h6>
- <h2>
- 6
- 3
- <h1>
- <h6>
- <h6>
- <h2>
- <h1>
- <h1>
- 2
- 4
- 2
- <h2>
- <h1>
- 3
- <h4>
- 2
- <h6>
- <h1>
- <h1>
- 3
- <h5>
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids