H1 - Level-one Heading
H1 - Level-one Heading
Syntax
<H1>...</H1>
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 H1 element defines a level-one heading. A document generally should have exactly one H1 element to mark the most important heading.
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 H1 in a large, bold font. Authors can suggest a presentation for H1 through style sheets. The following CSS ruleset suggests a presentation for all H1 elements:
h1 {
color: #c33;
background: transparent;
font-weight: bold;
text-align: center
}
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 H1 is typically used as the main heading for a document.
More Information
H1 in W3C HTML 4.0 Recommendation
H1 in W3C HTML 3.2 Recommendation
H1 in HTML 2.0 Standard
H1 in WDG HTML 3.2 Reference
H1 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:
h1h1 (3)H1 TPrzegląd rynku nieruchomości H1 15h1h1GH H1 142ZAPI H1ARKUSZ DIAGNOSTYCZNY GH H1 115Nahełmowe nauszniki słuchu H1h1więcej podobnych podstron