HtmlLabelElement Class
https://html.spec.whatwg.org/multipage/forms.html#htmllabelelement
public sealed class HtmlLabelElement : HtmlElement- Inheritance
HtmlElementHtmlLabelElement
Properties
| Name | Description |
|---|---|
| Control | https://html.spec.whatwg.org/multipage/forms.html#labeled-control |
| Form | https://html.spec.whatwg.org/multipage/forms.html#dom-label-form |
| HtmlFor | Gets or sets the value of the for content attribute. |
Control
SimpleControls.cshttps://html.spec.whatwg.org/multipage/forms.html#labeled-control
public HtmlElement? Control { get; }Property value
See also
https://html.spec.whatwg.org/multipage/forms.html#dom-label-form
public HtmlFormElement? Form { get; }Property value
See also
HtmlFor
HtmlElements.g.csGets or sets the value of the for content attribute.
public string HtmlFor { get; set; }