Scalable vector graphics (SVG)

Currently at the time of writing, we would recommend you to go with <img> tags as the simplest option and <object> tags only if you require interactivity in your graphics. Avoid Inline SVG in order to be indexed in Google Image.

1. SVG images

2. Img tag in object tag

This is your image alt

3. Embedded in HTML 5 SVG tag

Embedded SVG with attribute sizing and coloring