# class HTMLLabelElement

###

Module | khtml
Namespace | DOM
Class | HTMLLabelElement
Inherits | DOM::HTMLElement

Form field label text. See the LABEL element definition in HTML 4.0.

### methods

- HTMLLabelElement ( )

  returns ctor

- HTMLLabelElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLLabelElement |

- HTMLLabelElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLLabelElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLLabelElementImpl |

- accessKey ( )

  returns DOM.DOMString

  A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

- htmlFor ( )

  returns DOM.DOMString

  This attribute links this label with another form control by id attribute. See the for attribute definition in HTML 4.0.

- setAccessKey (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see accessKey

- setHtmlFor (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see htmlFor