Check out example codes for "how to validate mail adress css". It will help you in understanding the concepts better.

Code Example 1

<form>
	<input pattern="/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-][email protected][a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/" required />
	<br />
	<input type="submit" value="Submit Now!">
</form>

Code Example 2

<form>
	<input type="email" required /> <br />
	<input type="submit" value="Submit Now!">
</form>

Learn ReactJs, React Native from akashmittal.com