SVG Background
SVG is the abbreviation of Scalable Vector Graphics, which means scalable vector graphics. In 1998, the World Wide Web Consortium established a working group to develop a technology for expressing vector graphics through XML - SVG! Since SVG is also an XML file, SVG also inherits the advantages of XML's openness, portability and interactivity. Nowadays, almost all major browsers support SVG. You can get more compatibility information from here, including:
Use
* SVG
* Basic content
* SVG is not exclusive content of HTML5
* HTML5 provides native content about SVG
* Before the emergence of HTML5, there was SVG content
* SVG, simply speaking, is a vector image
* The extension of SVG file is ".svg"
* SVG uses XML syntax
* Concept
* SVG is a description using XML technology The language of two-dimensional graphics
* Features of SVG
* SVG drawn graphics can be crawled by search engines
* SVG can be enlarged without reducing the quality of the image
* The difference between SVG and Canvas
* SVG
* Does not depend on resolution
* Supports event binding
* Programs with large rendering areas (such as Baidu Maps)
* Cannot be used to implement web games
* Canvas
* Depends on resolution
* Does not support event binding
* Most suitable for web games
* Save images in ".jpg" format
* Usage
* Some small files on web pages Icons
* Dynamic special effects (animation effects) in web pages
* Use SVG in HTML5
* Use elements
* Function - similar to
* Sector (Ray) Gradient-
* Filter-Gaussian Blur
* Filter uses
*
* in="SourceGraphic"
* stdDeviation - Set the blur level