AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.4" />

.NET API 1,229,312 bytes

 HtmlLabelElement

Represents the HTML label element.
public IHtmlElement Control { get; }

Gets the control that the label is assigned for if any.

public IHtmlFormElement Form { get; }

Gets the form element that the label is assigned for if any.

public string HtmlFor { get; set; }

Gets or sets the ID of the labeled control. Reflects the for attribute.

public HtmlLabelElement(Document owner, string prefix = null)