<H1> ... <H6>
The header tags are used to create headings for major sections
within your content. There are six levels of headings you may
use in your content and the elements are (not surprisingly): H1, H2, H3, H4, H5, and H6.
The most significant heading is H1 and should be rendered using the
most prominent font style. H6 is the least significant and is barely
distinguishable from normal text. You may use Cascading Style Sheets
in conjunction with the header tags to control the appearance of these
elements.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
ALIGN |
Indicate the type of alignment applied to the header text. May be one of center, left, right |
|
Example
<H1>Heading #1</H1>
<H2>Heading #2</H2>
<H3>Heading #3</H3>
<H4>Heading #4</H4>
<H5>Heading #5</H5>
<H6>Heading #6</H6>
Renders As:
Heading #1
Heading #2
Heading #3
Heading #4
Heading #5
Heading #6
Compatibility
HTML 4.01
|