Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | <input type=”email”>

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 02 Jun, 2022
Improve Article
Save Article

The HTML <input type=”email”> is used to define a field for email address. The input email id is automatically validated to check the format of the email id is correct or not. 

Syntax

<input type="email"> 

Example: 

HTML




<!DOCTYPE html>
<html>
    <head>
        <title>
            HTML input type email
        </title>
    </head>
     
    <body style="text-align:center;">
         
        <h1 style="color:green;">
            GeeksForGeeks
        </h1>
         
        <h2>HTML &lt;input type ="email"&gt;</h2>
         
        <form>
            Email: <input type ="email"
                value="manaschhabra499@gmailo.com">
        </form>
    </body>
</html>                   

Output:

 

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

  • Google Chrome 5.0 and above
  • Internet Explorer 10.0 and above
  • Opera 11 and above
  • Edge 12 and above
  • Firefox 
  • Safari 
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!