The properties that can be applied to input> components are known as input attributes. The input> components now have additional features and behaviours thanks to these properties. Size, value, maxlength, needed, and many other attributes are examples of attributes.
The type attribute determines the type of input> element that will be displayed. The default type is "text" if the type parameter is not given.
When describing the target of a cross-reference, the type property is most commonly used on connecting components. The type attribute identifies the target of a cross-reference and can be used to generate cross-reference text.
There are 14 new attributes in HTML5
An input> element's value is specified via the value property.... It specifies the initial (default) value of the input field for "text," "password," and "hidden." It defines the value associated with the input for "checkbox," "radio," and "image" (this is also the value that is sent on submit)