Input Elements

Input Elements

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Anime gif. Jiro Horikoshi in The Wind Rises sits at a desk and writes with a pen on paper, as wind violently whips upwards around him, making his clothes thrash wildly, and pages from his desk fly away.

<input> types

How an <input> works varies considerably depending on the value of its type attribute, hence the different types are covered in their own separate reference pages. If this attribute is not specified, the default type adopted is text.

The available types are as follows:

for more info go through below link

credits :- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input