Yes - visiting a website can lead to a virus or malware infection. A malicious site may download a virus to your computer without your consent or permission. And if your own website is hacked but you haven’t noticed the infection yet, you may be distributing malware to site visitors without even knowing it.