![]() |
VOOZH | about |
The HTML <label> for Attribute is used to specify the type of form element a label is bound to.
Syntax:
<label for="element_id">
Attribute Values: It contains the value i.e element_id which specify the id of the element that the label is bound to.
Example: This Example that illustrates the use of for attribute in <label> element.
Output:
Supported Browsers: The browser supported by HTML | <label>for Attribute are listed below: