No edit summary |
|||
| Line 1: | Line 1: | ||
===Name=== | |||
email | |||
===Type=== | |||
_input | |||
===Synopsis=== | |||
How to render an email input field | |||
===Description=== | |||
When rendering an email input field, the browser will check if it is a valid email address. | |||
===Parameters=== | |||
type="email" | |||
All other valid parameters for an input field are valid | |||
===Example=== | |||
<syntaxhighlight lang="html"> | |||
<_input type="email" name="mail" placeholder="Type your email address" required="required" /> | |||
</syntaxhighlight> | |||
<_input type="email" name="mail" placeholder="Type your email address" required="required" /> | |||
===Note=== | |||
All attributes for an email input field are supported (like in this case : name, placeholder and required.) | |||
===Links=== | |||
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email | |||
Revision as of 13:00, 6 April 2022
Name
Type
_input
Synopsis
How to render an email input field
Description
When rendering an email input field, the browser will check if it is a valid email address.
Parameters
type="email"
All other valid parameters for an input field are valid
Example
<_input type="email" name="mail" placeholder="Type your email address" required="required" />
Note
All attributes for an email input field are supported (like in this case : name, placeholder and required.)
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email