HTML | <input type=”email”>
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 <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 and above
- Internet Explorer 10.0 and above
- Opera 11 and above
- Edge 12 and above
- Firefox
- Safari
Please Login to comment...