How to add validation of email id in input field ?

How to validate the input field of  Email Id?

For professional, it’s important to user don’t enter wrong values, for that we should have to validate all the fields like mobile number field, email id field.

Please check how can u easily validate the email id input field..


<input type=“email” id=“emailid” placeholder=“Email” required
oninvalid=“setCustomValidity(‘Please Enter Proper Email Id’)”

<input type=“submit”>



Coding Tag

Coding Tag always happy to serve you in Information Technology (IT). Learn HTML, CSS, Javascript, PHP, Android, Digital Marketing, Latest IT News and many more.

Leave a Reply

Notify of