What's tag <svg> ? What for used this tag? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

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

13th Sep 2017, 4:22 PM
Asemay - avatar
3 ответов
+ 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
13th Sep 2017, 4:46 PM
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 - avatar