The version attribute is used to indicate what specification a SVG document conforms to. It is only allowed on the root <svg> element. It is purely advisory and has no influence on rendering or processing.
While it is specified to accept any number, the only two valid choices are currently 1.0 and 1.1.
| Categories | None |
|---|---|
| Value | <number> |
| Animatable | No |
| Normative document | SVG 1.1 (2nd Edition): version attribute |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/version