you get malware from browsing websites...that is not doing anything wrong but you still get it.Malware is programs that get onto your computer from code that is executed when you view a webpage, open an email, or things like that.I can write a virus but if nobody ever opens it, it can't infect anybody.