Computer Science homework help

In 300 words,
Use the Web to search for methods to prevent XSS attacks.
Write a brief description of more than one method.
Use your own words and supply references.
Include references, no copy-paste.