I would like to use SVG icons in my websites, and I know using <image>
will limit my ability to change the SVG properties (for example, I can't change the fill color on hover).
So I found the method of in-line SVG, which seems to allows better manipulation. But gut feeling tells me that putting SVG drawing data into HTML file will create maintainability problem in the future.
I am trying to find a method where I can...
- Save my svg in another external file
- Call that svg from that file to my html file
- The html file will still be able to change the fill color.
Is this possible? And if yes, what is the keyword I should be looking for?