HTML and CSS Reference
In-Depth Information
Figure 10.22
A required email input form control with an incorrect value
Additional Attributes
Other form and form control attributes include, but are not limited to, the following. Please
feel free to research these attributes as necessary.
•
accept
•
autocomplete
•
autofocus
•
formaction
•
formenctype
•
formmethod
•
formnovalidate
•
formtarget
•
max
•
maxlength
•
min
•
pattern
•
readonly
•
selectionDirection
•
step
Login Form Example
The following is an example of a complete login form that includes several different ele-
ments and attributes to illustrate what we've covered so far. These elements are then styled
using CSS (see
Figure 10.23
).
Search WWH ::
Custom Search