Few years back, most of the online games were made with Flash, nowadays, with powerful browsers and web technologies, you can create games with just HTML, CSS and Javascript!