The Web Design Group

h6 - Level-six Heading

Syntax <h6>...</h6>
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 h6 element defines a level-six heading. This heading is less important than an h5.

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

h6 {
  margin-left: 6%;
  margin-right: 6%;
  font-size: 105%;
  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 h6 is typically used within a section headed by an h5.

More Information