Fieldset Caption | WebReference

Fieldset Caption

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Fieldset Caption

<legend> ... </legend>

Description: Used to specify a description for a fieldset.

Browser Compatibility: NN: 6.2+ / IE: 4.0+ / Opera: 4+

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

* Deprecated

Code Example:

<form>
    <fieldset>
        <legend>
HTML Tag Chart</legend>
    </fieldset>
</form>



Created: March 15, 2005

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