Flash provides amazing GUI and many visual features for animations. It allows the user build everything inside a particular platform without a full integration into the browser wrapped inside the browser with the main scopes that are multimedia and other kinds of animation.
Here is a simple <canvas> element that has only two specific attributes width and height plus all the core HTML5 attributes like id, name, and class etc.
<canvas id = "mycanvas" width = "100" height = "100"></canvas>
Canvas is mainly considered now and Flash is outdated. With Canvas, you can animate shapes, scale, transform, etc.