If you just serve SVGs through <img> tag it’ll be much safer. I never understood the appeal of inline <svg> anyways.
Inline SVG is stylable with CSS styles in the same HTML page.
Also animatible with the same context (Animation API, etc.) as the parent page, so different SVGs can influence each other’s animations.
Inline reduces round trips.
You can use img with a data url?
Inline SVG is stylable with CSS styles in the same HTML page.
Also animatible with the same context (Animation API, etc.) as the parent page, so different SVGs can influence each other’s animations.
Inline reduces round trips.
You can use img with a data url?