Search DaTutorials:  
HOME
Html Tutorials
Basics
Forms
Frames
Hyperlinks and URLS
Images
Lists
Background
Colors
Fonts
Tables
Meta Tags
Events
Javascript Integration
Sound
Other
Search For a Tutorial
Html Reference

H4 - Level-four Heading

Syntax <H4>...</H4>
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 H4 element defines a level-four heading. This heading is more important than an H5 but less important than an H3.

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

h4 {
  margin-left: 6%;
  margin-right: 6%;
  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 H4 is typically used within a section headed by an H3.

More Information


Copyright © 1998 Liam Quinn. All rights reserved.

Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp