Validation can be defined by many different methods, and deployed in many different ways.
Now we will see how we can validate our entered form data before submitting it to the web server.
The following example shows how to validate an entered email address.
Server side validation is performed by a web server, after input has been sent to the server.
Client side validation is performed by a web browser, before input is sent to a web server.