Malware is everywhere including web sites...many (most) of these sites rely on third party advertising engines/hosts that accept ads from dodgy characters.
If your iPad is recent enough try installing an adblocker like OneBlocker.
I have AdBlocker on my pc...through Firefox. Works over there. I wasn’t aware of OneBlocker for Apple. Thanks!
It is abusive and hard core sales that I don’t understand (why do they want to piss off their potential customers). However, it will cause most surfers to welcome more government regulation.