Interface HTMLLegendElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLLegendElement extends HTMLElement
Provides a caption for a FIELDSET grouping. See the LEGEND element definition in HTML 4.0.
  • Method Details

    • getForm

      HTMLFormElement getForm()
      Returns the FORM element containing this control.Returns null if this control is not within the context of a form.
    • getAccessKey

      java.lang.String getAccessKey()
      A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.
    • setAccessKey

      void setAccessKey(java.lang.String accessKey)
    • getAlign

      java.lang.String getAlign()
      Text alignment relative to FIELDSET. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setAlign

      void setAlign(java.lang.String align)