The 6 Levels of Headings

A heading's level is only relevant to its section. For example, you could have many <section> elements within a page, each with a <h2> element. Each section's <h2> element is a level 2 heading for that section. Furthermore, the document's <body> element could have its own <h2> element, which would be applicable to the document's body (which also consists of the various <section> elements).