The Web Design Group

h3 - Level-three Heading

Syntax <h3>...</h3>
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 h3 element defines a level-three heading. This heading is more important than an h4 but less important than an h2.

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 h3 in a bold font. Authors can suggest a presentation for h3 through style sheets. The following CSS ruleset suggests a presentation for all h3 elements:

h3 {
  color: #006400;
  background: transparent;
  margin-left: 4%;
  margin-right: 4%;
  font-weight: bold

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 h3 is typically used within a section headed by an h2.

More Information