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