I just started experimenting with SVG in web pages, and I discovered that it is only possible to add SVG images into HTML using <object />
tags, not <img />
like I would have expected. Most of the time, I add graphics to web pages through CSS because they are part of the presentation of the site, not the content.
I know it is possible to apply CSS to SVG, but is it possible to add a vector image to an HTML element using purely CSS?