All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.w3c.dom.html.HTMLLabelElement

public interface HTMLLabelElement
extends HTMLElement
Form field label text. See the LABEL element definition in HTML 4.0.


Method Index

 o getAccessKey()
A single character access key to give access to the form control.
 o getForm()
Returns the FORM element containing this control.
 o getHtmlFor()
This attribute links this label with another form control by id attribute.
 o setAccessKey(String)
 o setHtmlFor(String)

Methods

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

 o getAccessKey
 public abstract String getAccessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

 o setAccessKey
 public abstract void setAccessKey(String accessKey)
 o getHtmlFor
 public abstract String getHtmlFor()
This attribute links this label with another form control by id attribute. See the for attribute definition in HTML 4.0.

 o setHtmlFor
 public abstract void setHtmlFor(String htmlFor)

All Packages  Class Hierarchy  This Package  Previous  Next  Index