What Is The Use Of Svg Tag In Html. With them you can craft SVG documents with a DRY kind of approach. Vector art is visually crisp and tends to be a smaller file size than raster graphics like JPG.
Jpg gif png etc a vector image can be scaled up or down to any extent without losing the image quality. If you know you need vector art SVG is the choice. SVG stands for S calable V ector G raphics and it is a language for describing 2D-graphics and graphical applications in XML and the XML is then rendered by an SVG viewer.
The HTML DOM is actually a prototype-less object that implements both HTMLElement and SVGElement.
If you know you need vector art SVG is the choice. Transformations applied to the element are performed on its child elements and its attributes are inherited by its children. Below is an example of simple SVG in an HTML document. Unlike raster image eg.