Does HTML5 only replace the video aspects of Flash/Silverlight?

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.

The HTML5 element <canvas> gives you an easy and powerful way to draw graphics using JavaScript. It can be used to draw graphs, make photo compositions or do simple (and not so simple) animations.

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.

Lakshmi Srinivas
Lakshmi Srinivas

Programmer / Analyst / Technician