Top 10 css interview questions and answers
42. Difference between SVG and Canvas HTML5 element?
|SVG is a vector based i.e., composed of shapes.||It is Raster based i.e., composed of pixels.|
|SVG works better with a larger surface.||Canvas works better with a smaller surface.|
|SVG can be modified using CSS and scripts.||Canvas can only be modified using scripts.|
|SVG is highly scalable. So we can print at high quality with high resolution.||It is less scalable.|
HTML provides a