The H2 element identifies text
Description
The H2 element identifies text to be separated and displayed
less prominently than H1 but more prominently than H3.
Minimum Attributes
<H2>characters...
</H2>
All Possible Attributes
<H2
LANG="..."
DIR=ltr|rtl
ID="..."
CLASS="..."
ALIGN=left|center|right|justify
CLEAR=left|right|all|"..."
SEQNUM=nnn
SKIP=nnn
DINGBAT=entity-name
SRC="..."
MD="..."
NOWRAP>characters...
</H2>
Elements Allowed Within...
members of group
Allowed In Content Of...
Any element that permits members of group
Variations
RFC 1866 recommends that a document use the
header elements in order, without breaks, beginning with H1.
(ed: I have not identified a browser that enforces this.)
The LANG and DIR attributes are introduced with the
internationalization proposal.
The internationalization proposal also includes
ALIGN=center|left|right|justify
Netscape 2.0 implements
ALIGN=center|left|right
The ID attribute was proposed in HTML+ and Version 3
to replace the NAME attribute
in the A element to establish internal hyperlink destinations.
With the expected use of ID for style sheets, this is likely to change.
All other attributes are proposed in Version 3.
RFC 1866 states typical rendering is bold, large font, flush left.
Headings are Level 0 elements.