A. Hackers target websites using various methods such as brute force attacks, malware, SQL injections, and cross-site scripting (XSS). Some aim to steal sensitive data, while others look to disrupt services or deface the website.