Ok so website hackers use this thing called cross site scripting or XSS to hack website

Here is a cheat sheet