HTML 5 Heading tag ( <h1>-<h6> )
The heading tag is used for specifying headings
in a document. In HTML 5, there are 6 levels of headings (<h1> to <h6>) with
<h1> defines the largest header and <h6> defines the smallest header.
Example
<!DOCTYPE
HTML>
<html>
<body>
<h1>Thanks
for visit our site.</h1>
<h2>Thanks
for visit our site.</h2>
<h3>Thanks
for visit our site.</h3>
<h4>Thanks
for visit our site.</h4>
<h5>Thanks
for visit our site.</h5>
<h6>Thanks
for visit our site.</h6>
</body>
</html>
Output

HTML 5 <hgroup> tag
The <hgroup> tag is used for defining the
header of an HTML document or section. More specifically, it is used to group a
set of <h1>-<h6> elements when the heading has multiple levels, such as
subheadings, alternative titles, or taglines.
Example
<!DOCTYPE
HTML>
<html>
<body>
<hgroup>
<h1>Title
goes here</h1>
<h2>Subtitle
of article</h2>
</hgroup>
<p>The
rest of the content...</p>
</body>
</html>
Output

The <h1>-<h6> tag and <hgroup> tag both
supports the Standard and Event Attributes in HTML 5.