content logo

Learn HTML:

Html h1 to h6 tags

The <h1> to <h6> tags are used to define HTML headings.

 

<h1> defines the most important heading. <h6> defines the least important heading.

Differences Between HTML 4.01 and HTML5

 

The "align" attribute is not supported in HTML5. Use CSS to align elements.

Attributes

 

Attribute Value Description
align left
center
right
justify
Not supported in HTML5.
Specifies the alignment of a heading

 

#HTML H1 to H6 Example #HTML H1 Code #HTML H1 to H6 Tutorial