Can virtual families give you a virus?

You have to be careful when online, because almost any site can give you a virus if you don't have the right protection. Some sites might get attacked by a virus without knowing it, and then the virus spreads to whoever visits the site, but most sites have virus protection.