What is svg nd canvas? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is svg nd canvas?

6th Sep 2018, 5:15 PM
Ansari Dilshad
Ansari Dilshad - avatar
3 Answers
+ 4
What is HTML Canvas? The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript. The <canvas> element is only a container for graphics. You must use JavaScript to actually draw the graphics. Canvas has several methods for drawing paths, boxes, circles, text, and adding images What is SVG? SVG stands for Scalable Vector Graphics SVG is used to define graphics for the Web SVG is a W3C recommendation The HTML <svg> element is a container for SVG graphics. SVG has several methods for drawing paths, boxes, circles, text, and graphic images.
6th Sep 2018, 6:04 PM
Satyendra Singh
Satyendra Singh - avatar
+ 1
view this for getting exact answer https://www.w3schools.com/html/html5_svg.asp
7th Sep 2018, 5:05 AM
Shruti
Shruti - avatar
+ 1
The HTML <svg> element is a container for SVG graphics. ... Most of the web browsers can display SVG just like they can display PNG, GIF, and JPG. The HTML <canvas> element is used to draw graphics, via JavaScript. The<canvas> element is a container for graphics Differences Between SVG and Canvas. SVG is a language for describing 2D graphics in XML. Canvas draws 2D graphics, on the fly (with a JavaScript). SVG is XML based, which means that every element is available within the SVG DOM. ANSWER IN CSS SVG is a language for describing 2D graphics in XML. Canvas draws 2D graphics, on the fly (with a JavaScript). SVG is XML based, which means that every element is available within the SVG DOM. You can attach JavaScript event handlers for an element. SVG is a language for describing 2D graphics in XML. Canvas draws 2D graphics, on the fly (with a JavaScript). SVG is XML based, which means that every element is available within the SVG DOM. You can attach JavaScript event handlers for an element. https://www.w3schools.com/html/html5_svg.asp
5th Nov 2018, 2:03 PM
deepak sharma
deepak sharma - avatar