Skip to main content
Home / The Lodge / Everything You Need To Know About SVG / 05: Using SVG – SVG as img

05: Using SVG – SVG as img

Using SVG can be incredibly simple:

<img src="image.svg" alt="image">

Yep!

See the Pen 7d5d25d7a93f10035b9b19c6f4fce516 by Chris Coyier (@chriscoyier) on CodePen.

icon-link icon-logo-star icon-search icon-star