The six different HTML headings:
![]()
The <h1> to <h6> tags are supported in all major browsers.
The <h1> to <h6> tags are used to define HTML headings.
<h1> defines the most important heading. <h6> defines the least important heading.
The "align" attribute is deprecated in HTML 4.01, and is not supported in HTML5. Use CSS to align elements.
| Attribute | Value | Description |
|---|---|---|
| align | left center right justify |
Not supported in HTML5. Deprecated in HTML 4.01. Specifies the alignment of a heading |
The <h1> to <h6> tags also supports the Global Attributes in HTML.
The <h1> to <h6> tags also supports the Event Attributes in HTML.
HTML tutorial: HTML Headings
Your message has been sent to W3Schools.