Do we have to write our game in HTML5 only or can I use unity as my game engine and export a web build as it also a HTML5 build after that ? Please explain
Yes, you can use Unity export to the Web and that will be enough.