H2 - Level-two Heading
H2 - Level-two Heading
Syntax
<H2>...</H2>
Attribute Specifications
ALIGN=[ left | center | right | justify ] (horizontal alignment)
common attributes
Contents
Inline elements
Contained in
APPLET, BLOCKQUOTE, BODY, BUTTON, CENTER, DEL, DD, DIV, FIELDSET, FORM, IFRAME, INS, LI, MAP, NOFRAMES, NOSCRIPT, OBJECT, TD, TH
The H2 element defines a level-two heading. This heading is more important than an H3 but less important than an H1.
The deprecated ALIGN attribute suggests the horizontal alignment for the heading on visual browsers. Possible values are left, right, center, and justify. Style sheets provide greater flexibility in suggesting alignment.
Visual browsers typically render H2 in a large, bold font. Authors can suggest a presentation for H2 through style sheets. The following CSS ruleset suggests a presentation for all H2 elements:
h2 {
color: #00008b;
background: transparent;
font-weight: bold;
margin-left: 2%;
margin-right: 2%
}
Authors should not choose a heading level based on the font size commonly used by visual browsers. The heading level should be chosen based on the heading's importance and placement in the document. An H2 is typically used within a section headed by an H1.
More Information
H2 in W3C HTML 4.0 Recommendation
H2 in W3C HTML 3.2 Recommendation
H2 in HTML 2.0 Standard
H2 in WDG HTML 3.2 Reference
H2 in Learning HTML 3.2 by Examples
Maintained by Liam Quinn <liam@htmlhelp.com>
HTML 4.0 Reference ~ Elements by Function ~ Elements Alphabetically
Copyright © 1998 Liam Quinn. All rights reserved.
Wyszukiwarka
Podobne podstrony:
TEST H2HUMMER H2 2003 2004h2 (2)LEK H2 CW 6!LEK H2 CW 2h2 (2)LEK H2 CW 7AL3 h2AL3 h2Calculation of the Cellular Structure of Detonation of Sprays in an H2 O2 SystemJ 1 JED INW 1 H2więcej podobnych podstron