From http://www.w3schools.com (Copyright Refsnes Data)
ExampleThe six different HTML headings:
|
The <h1> to <h6> tags are used to define HTML headings.
<h1> defines the largest heading and <h6> defines the smallest heading.
The <h1> to <h6> tags are supported in all major browsers.
The "align" attribute of the <h1> to <h6> elements was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD.
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute | Value | Description | DTD |
---|---|---|---|
align | left center right justify |
Deprecated. Use styles instead. Specifies the alignment of the text in the heading. |
TF |
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
From http://www.w3schools.com (Copyright Refsnes Data)