<h1> This is heading 1 </h1><h2> This is heading 2 </h2><h3> This is heading 3 </h3><h4> This is heading 4 </h4><h5> This is heading 5 </h5><h6> This is heading 6 </h6>
align attribute is deprecated with this tag in HTML5.
Attributes used with heading
tags
Attribute
Description
align
To align the text inside these heading element to justify, right, left or center. (HTML5 does not support this attribute when it is used with any of these heading tags).