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.
-
getAccessKey()
- A single character access key to give access to the form control.
-
getForm()
- Returns the FORM element containing this control.
-
getHtmlFor()
- This attribute links this label with another form control
by id attribute.
-
setAccessKey(String)
-
-
setHtmlFor(String)
-
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.
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.
setAccessKey
public abstract void setAccessKey(String accessKey)
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.
setHtmlFor
public abstract void setHtmlFor(String htmlFor)
All Packages Class Hierarchy This Package Previous Next Index