November 2011
Intermediate to advanced
384 pages
13h 23m
English
You can use the email input type to restrict input fields to values formatted like email addresses only. Supported web browsers will reject values that are not formatted with an @ sign and a specific domain name with a TLD (top-level domain), such as user@domain.com — or to be precise, values that do not follow RFC5322. Note this feature makes no effort to verify that the user owns the email address provided or whether it is even real.
<input type='email' name='field' value='email' multiple>
The type='email' attribute value activates the email-specific input options of the user’s web browser. Additional input element attributes, such as name and value, have the same meaning and functionality common in HTML forms. ...
Read now
Unlock full access