Read the OWASP Cross Site Scripting Prevention Cheat Sheet and explore related materials. Start by reading through the cheat sheet including: Rules 1-8, Bonus Rules 1-5 and the XSS Prevention Rules Summary.