Yes, a website can hack you using the "Drive-by downloads" technique initiated without your permission. I will recommend buying an anti-virus solution for your devices.