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