June 2025
Beginner
817 pages
31h 30m
English
HTML provides several field types for better input control by the web browser, for example, to specify certain types of data or ranges of values. All new input fields must be written using the <input> tag and the corresponding type attribute. You already know <input type="text"> as a single-line text field or <input type="password">, which is also a single-line text field where the text is hidden.
Table 7.3 lists the HTML input fields in alphabetical order. An example with all types can be found in /examples/chapter007/7_3/index.html.
|
HTML Notation |
Description |
|---|---|
|
<input type="color"> |
Displays a control field with a color selection dialog |
|
<input type="date"> |
Displays a control field for a ... |
Read now
Unlock full access