What's tag <svg> ? What for used this tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's tag <svg> ? What for used this tag?

13th Sep 2017, 4:22 PM
Asemay
Asemay - avatar
3 Answers
+ 11
SVG is a language for describing 2D graphics in XML. SVG is XML based, which means that every element is available within the SVG DOM. You can attach JavaScript event handlers for an element. In SVG, each drawn shape is remembered as an object. If attributes of an SVG object are changed, the browser can automatically re-render the shape.
13th Sep 2017, 4:59 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 2
thanks
13th Sep 2017, 4:46 PM
Asemay
Asemay - avatar
+ 1
SVG stands for Scalable Vector Graphics. It's mainly used for drawing vector based shapes in browsers
13th Sep 2017, 4:45 PM
dedZombie
dedZombie - avatar