SVG Tag Attributes
Attributes of the SVG tags
| global attributes | The common HTML attributes can be used on any of the SVG tags. | 
Attributes of the <svg> tag
| preserveAspectRatio | |
| style | |
| version | |
| viewbox | |
| xmlns="http://www.w3.org/2000/svg" | The xmlnsattribute declares the namespace for all of the SVG elements. Since thexmlnsattribute is inherited by child elements and descendants, it does not need to be coded on other tags in the content of thesvgelement, unless they are in a different namespace such as the HTML namespace. | 
Attributes of the <circle> tag
| cx,cy | center | 
| r | radius | 
Attributes of the <linearGradient> tag
| x1,y1 | |
| x2,y2 | 
Attributes of the <radialGradient> tag
| fx,fy | |
| r | |
| spreadMethod | 
Attributes of the <rect> tag
| x,y | |
| width,height | 
Attributes of the <stop> tag
| offset | |
| style | 
 |