Back Main GuestBook Contact Music (JS) Appendix

<H2></H2> - Level 2 Headings

This tag tells the browser that the text between it and its closing tag is to be presented as a heading slightly inferior to Heading 1.

This tag must be closed at the end of the heading by typing </H2>.

Attributes for <H2>

  %coreattrs %il8n %events

D align= [CI]
  • "left"
Specifies left alignment.
  • "center"
Specifies centered text.
  • "right"
Specifies right alignment.
  • "justify"
Specifies justified text. If unsupported, reverts to default.
This attribute controls text alignment. The default value is inherited; otherwise, it is left for left-to-right headings and right for right-to-left headings.

Sample:

Level 2 Heading

This is paragraph text.


Here is the code for the sample above:

<H2>Level 2 Heading</H2>
<P>This is paragraph text.</P>