SVGs are pretty great when it comes to creating responsive resolution-independent logos and other graphics. An SVG can be embedded on a web page in many ways, as follows:
- Inline embed in an HTML5 page using the <svg> tag
- Embed SVG as image using the <img> tag
- Embed SVG as image using the <object> tag
- Using an iframe
- As a CSS background image
In this brilliant article by Sara Soueidan, she covers embedding techniques, how to apply the “Padding Hack” and how to use inline media queries to make SVGs responsive.