email id validation in html code example
Example 1: how to validate mail adress css
<form>
<input pattern="/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/" required />
<br />
<input type="submit" value="Submit Now!">
</form>
Example 2: how to validate mail adress css
<form>
<input type="email" required /> <br />
<input type="submit" value="Submit Now!">
</form>
Example 3: Which attribute in HTML5 is used to verify the email address on a web page?
patterned also do not cheat :)