Q.

What is the significance of validating user input on both the client-side (browser) and server-side?

A. It reduces server load by performing all validations on the client-side.
B. It eliminates the need for server-side validation.
C. It ensures a better user experience and enhances security by preventing malicious data submission.
D. It improves website aesthetics and design.
Answer» C. It ensures a better user experience and enhances security by preventing malicious data submission.
Explanation: Client-side validation enhances user experience by providing immediate feedback, while server-side validation is essential for security as it prevents malicious data from reaching the server.
2
0
Do you find this helpful?
0

View all MCQs in

E-Business

Discussion

No comments yet