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