Gets or sets the attribute that links this label with another form control by ID attribute.

[VBScript]
Public Property HtmlFor As String
[JScript]
public function get HtmlFor() : String;
public function set HtmlFor(String);

Property Value

A string representing the ID attribute of the element to link to.

See Also

HTMLLabelElement Object | HTMLLabelElement Members | DOM Namespace