https://en.wikipedia.org/wiki/Comparison_of_HTML5_and_Flash
HTML5 can be used as an alternative to Adobe Flash.[1] Both include features for playing audio and video within web pages, It can also be used to play some basic HTML5 browser games and integrated vector graphics are possible with both.
“HTML5” in this article sometimes refers not only to the HTML5 specification, which does not itself define ways to do animation and interactivity within web pages,[2] but to HTML5 and related standards like JavaScript or CSS 3. Animation via JavaScript is also possible with HTML 4.