HTML <input type=”email”>

The HTML <input type=”email”> is used to define a field for email address. It automatically validating input field for proper email format. Adding “multiple” allows multiple addresses.

Syntax

<input type="email"> 

Example: In this example, we demonstrate the <input type=”email”> element within a form, allowing input of an email address and automatically validating its format.

HTML
<!DOCTYPE html>
<html>

<head>
    <title>
        HTML input Type Email
    </title>
</head>

<body style="text-align:center;">
    <form>
        <label for="email">Email Id:</label>
        <input type="email" name="email" 
            value="user@w3wiki.net">
    </form>
</body>

</html>

Output

Supported Browsers

The browsers supported by <input type=”email”> are listed below:


Contact Us