Object: HTMLLabelElement
HTMLLabelElement properties
|
Property name |
Type |
Description |
Status |
Support level |
Availability |
|---|---|---|---|---|---|
|
DOMString |
Specifies the keypad key that gives access to the element. |
writable |
DOM 2 HTML |
4.6 or later |
|
|
Returns the parent <form> element for the form control. |
read only |
DOM 2 HTML |
4.6 or later |
||
|
DOMString |
Specifies the form control with which the label is associated. The value must be the value of the id attribute of the related element. |
writable |
DOM 2 HTML |
4.6 or later |
Next topic:
Object: HTMLLegendElement
Previous topic: HTMLIElement properties