does browser games get played more than download games i mean download games can be viruses
I'd agree that it is easier to start a browser game. Not sure it is safer. Obviously websites (which is essentially what a browser game is) can redirect to other websites. And don't you use your browser to download stuff?
Using the Unity engine it is easy to build your game as a browser game instead of a desktop game. I have done it. The main problem is performance. Once you have nice graphics, hundreds of megabytes in 3D-models and textures, starting the game takes forever. And even if the player patiently made it through that, the game runs at a very disappointing frame rate. So slow that the movements get difficult to control.
In other words: Browser games can't do high end graphics. They can still be fun.
Browser games usually get a lot more casual clicks, because trying one costs the player nothing. That doesn't always mean more people stick around, but the first step is much easier.
On the virus worry, a browser game runs inside the browser's own security limits, while a download runs with the same access as anything else you install. If you do download games, the itch.io app has a sandbox you can turn on that limits which files a game can read and write. It's not perfect, but it's safer than running random exes directly.
For devs, the itch docs themselves say very large HTML5 games tend to load and run worse than the downloadable version, so a short web demo plus a full download is a common setup.