Skip to content
Related Articles

Related Articles

Improve Article

HTML | <input type=”email”>

  • Last Updated : 29 May, 2019

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:




<!DOCTYPE html>
<html>
    <head>
        <title>
            HTML input type email
        </title>
    </head>
      
    <body style="text-align:center;">
          
        <h1 style="color:green;">
            GeeksForGeeks
        </h1>
          
        <h2>HTML <input type ="email"></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
  • Internet Explorer 10.0
  • Firefox 4.0
  • Safari 5.0
  • Opera 10.1

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :