Web Development Ninjas Question:

Tell me what is the difference between SVG and <Canvas>?

Tweet Share WhatsApp

Answer:

<Canvas> is an element that manipulates two-dimensional (2D) pixels while Scalable Vector Graphics works in 2D and three-dimensional (3D) vectors. Essentially, <Canvas> is to SVG as Photoshop is to Illustrator.

Download Ninjas Web Developer PDF Read All 58 Ninjas Web Developer Questions
Previous QuestionNext Question
Explain me what is $(document).ready() function? Why should you use it?Tell us how do you optimize a website’s assets?