HTML <input> Tag with 'type=email'

<form name="myForm" action="http://www.htmlcodes.ws/resources/html-forms-action.cfm">
	
<input type="email" name="myEmailField">

<button>Submit</button>
</form>

The above example demonstrates usage of the <input> element with the type attribute set to email (i.e. type="email").

The email value represents a control for editing one or more email addresses given in the element's value.

If the multiple attribute is specified on the element, the element represents a control for adding, removing, and editing the email addresses given in the element's values. Otherwise it represents a control for editing the (single) email address given in the element's value.

If multiple email addresses are to be provided, they must be spearated by a comma (and the element must have the multiple attribute present).

Browsers should enforce the value entered when using the email type. If the user attempts to enter text that is not in a proper email format, the browser will prevent the form from being submitted and display a message to the user, asking them to enter a valid email address.