Headings | WebReference

Headings

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Headings

<h1> ... </h1>
<h2> ... </h2>
<h3> ... </h3>
<h4> ... </h4>
<h5> ... </h5>
<h6> ... </h6>

Description: Specifies the heading in a document. Numbered 1-6, 1 is the largest and 6 the smallest.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • align*
  • class
  • dir
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • onunload
  • style
  • title

* Deprecated

Code Example:

<h1>This Is the Title</h1>



Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/