Input structure
id guarantees the input uniqueness
type defines how the element is displayed in several ways.
Type | Type | Type | Type | Type |
---|---|---|---|---|
button | checkbox | color | date | datetime-local |
file | hidden | image | month | |
number | password | radio | range | reset |
search | submit | tel | text | time |
url | week |
class may be required to find the element in the DOM.
value holds the input value.