Learn how to create an email field in HTML.
Email Field
Enter your email:
You can use the input type="email" attribute to create an email field:
Example
html
<label for="email">Enter your email:</label>
<input type="email" id="email"
name="email">
The input type="email" defines a field for an e-mail address.
The input value is automatically validated to ensure it is a properly formatted e-mail address.
Tip: To Learn more about forms and input fields, read the HTML Forms Tutorial.