Answer:
A common technique for preventing Cross-Site Scripting (XSS) in client-side code is input validation, which ensures that user input is sanitized before being rendered on the page.
A common technique for preventing Cross-Site Scripting (XSS) in client-side code is input validation, which ensures that user input is sanitized before being rendered on the page.
You may be interested in:
Web Security MCQs