How many types of heading does an HTML contain?

The HTML contains six types of headings which are defined with the to tags. Each type of heading tag displays different text size from another. So, is the largest heading tag and  is the smallest one. For example:

Heading no. 1

Heading no. 2

Heading no. 3

Heading no. 4

Heading no. 5
Heading no. 6