HTMLLegendElement Interface


The HTMLLegendElement Interface provides a caption for a FIELDSET grouping.
IDL Definition

Interface HTMLLegendElement : HTMLElement {

 readonly  attribute  HTMLFormElement          form;
           attribute  DOMString                accessKey;
           attribute  DOMString                align;
};

Semantic Requirements

  1. The form attribute returns the FORM containing this control.
  2. The accessKey attribute is a single character access key to give access to the form control.
  3. The align attribute contains the text alignment relative to FIELDSET.

If you have comments or suggestions, email me at mbrady@nist.gov