HTMLInputElement
sealed class HTMLInputElement : HTMLTextFormControlElement, IHtmlInputElement, IHtmlElement, IElement, INode, IEventTarget, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle, IValidation
Represents an HTML input element.
An enumeration with possible input types.
Gets or sets the accept HTML attribute, containing comma-separated list of
file types accepted by the server when type is file.
Gets or sets the alignment of the element.
Gets or sets the alt HTML attribute, containing alternative
text to use when type is image.
Gets or sets the autocomplete HTML attribute, indicating whether
the value of the control can be automatically completed by the
browser. Ignored if the value of the type attribute is hidden,
checkbox, radio, file, or a button type (button, submit, reset,
image).
Gets or sets the height HTML attribute, which defines the
height of the image displayed for the button, if the value
of type is image.
Gets or sets the width HTML attribute, which defines the width of the image
displayed for the button, if the value of type is image.
Gets a list of selected files.
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.
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.
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.
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.
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.
Gets or sets if the input element is checked or not.
Gets or sets
Gets or sets if the state if indeterminate.
Gets the multiple HTML attribute, whichindicates whether multiple items can be selected.
Gets the datalist element in the same document.
Only options that are valid values for this input element will
be displayed. This attribute is ignored when the type
attribute's value is hidden, checkbox, radio, file, or a button type.
Gets or sets max HTML attribute, containing the maximum (numeric
or date-time) value for this item, which must not be less than its
minimum (min attribute) value.
Gets or sets the min HTML attribute, containing the minimum (numeric
or date-time) value for this item, which must not be greater than its
maximum (max attribute) value.
Gets or sets the pattern HTML attribute, containing a regular expression
that the control's value is checked against. The pattern must match the
entire value, not just some subset. This attribute applies when the value
of the type attribute is text, search, tel, url or email; otherwise it is ignored.
Gets or sets the size HTML attribute, containing size of the control. This value
is in pixels unless the value of type is text or password, in which case, it is
an integer number of characters. Applies only when type is set to text, search, tel,
url, email, or password; otherwise it is ignored.
Gets or sets the src HTML attribute, which specifies a URI for the location of an
image to display on the graphical submit button, if the value of type is image;
otherwise it is ignored.
Gets or sets the step HTML attribute, which works with min and max to limit the
increments at which a numeric or date-time value can be set. It can be the string
any or a positive floating point number. If this is not set to any, the control
accepts only values at multiples of the step value greater than the minimum.
Gets or sets the type of the input field.
Gets or sets a client-side image map.
Gets or sets the value of the element, interpreted as a date, or null
if conversion is not possible.
Gets or sets the value of the element, interpreted as one of the following in order:
1.) Time value 2.) Number 3.) otherwise NaN.
public HTMLInputElement()
Creates a new HTML input element.
Decrements the value by (step * n), where n defaults to 1 if not specified.
Increments the value by (step * n), where n defaults to 1 if not specified.