AngleSharp by AngleSharp

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

.NET API 1,261,568 bytes

 IHtmlButtonElement

Represents the button HTML element.
bool Autofocus { get; set; }

Gets or sets the autofocus HTML attribute, which indicates whether the control should have input focus when the page loads.

Gets the associated HTML form element.

string FormAction { get; set; }

Gets or sets the URI of a resource that processes information submitted by the button. If specified, this attribute overrides the action attribute of the form element that owns this element.

string FormEncType { get; set; }

Gets or sets the type of content that is used to submit the form to the server. If specified, this attribute overrides the enctype attribute of the form element that owns this element.

string FormMethod { get; set; }

Gets or sets the HTTP method that the browser uses to submit the form. If specified, this attribute overrides the method attribute of the form element that owns this element.

bool FormNoValidate { get; set; }

Gets or sets that the form is not to be validated when it is submitted. If specified, this attribute overrides the enctype attribute of the form element that owns this element.

string FormTarget { get; set; }

Gets or sets A name or keyword indicating where to display the response that is received after submitting the form. If specified, this attribute overrides the target attribute of the form element that owns this element.

bool IsDisabled { get; set; }

Gets or sets if the button is enabled or disabled.

INodeList Labels { get; }

Gets the list of assigned labels.

string Name { get; set; }

Gets or sets the name of the element.

string Type { get; set; }

Gets or sets the type of button.

string Value { get; set; }

Gets or sets the value.