One final item that you should be aware of, and a very good reason why one should learn html, css and javascript first -
svg is undergoing a number of changes and the implementation in browsers is changing. This is because svg animations for the web are now all being done using css and javascript.
For complexed svg animations one would use javascript, and simpler animations are to be done using css, using css transform, transitions and css keyframe animations.
I personally would recommend reading , (and possibly buying) books on the subject, as reference materiel for css and javascript, (and html 5) and the use of them with svg is no longer such a simple subject, (if it ever was).
Also don't forget that a good svg editor is required, and even though many vector programs will convert an illustration to svg, these are not to be used. You should find a program that allows you to actually start with an svg document, otherwise trying to animate a particular element in svg becomes almost impossible.
Initially try Adobes Illustrator, or the open source program, 'Inkscape' -
https://inkscape.org/en/