Get the relationship between the result of the calculation, and the elements used in the calculation:
The result of x will be:
The htmlFor property returns the value of the for attribute of an <output> element.
The for attribute specifies the relationship between the result of the calculation, and the elements used in the calculation.
Note: This property is read-only.
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
htmlFor | 10.0 | Not supported | 4.0 | 5.1 | 11.0 |
Return Value: | A reference to the relationship between the result of the calculation, and the elements used in the calculation |
---|
HTML reference: HTML <output> for attribute