The email type contain an e-mail
address, which is used for input fields.
When the form is submitted, the value of the email field is automatically validated .
Syntax:
When the form is submitted, the value of the email field is automatically validated .
Syntax:
E-mail: <input type="email" name="user_email" />
Example:
<!DOCTYPE html>
<html>
<body>
<form action="demo_form.asp" method="get">
E-mail: <input type="email" name="user_email" /><br />
<input type="submit" />
</form>
</body>
</html>
Example:
<!DOCTYPE html>
<html>
<body>
<form action="demo_form.asp" method="get">
E-mail: <input type="email" name="user_email" /><br />
<input type="submit" />
</form>
</body>
</html>
No comments:
Post a Comment