
Here’s an example of that: Check out this Pen! Browser support You can change the size of it though just by selecting the img and changing its width or height, again like you could a PNG or JPG. That’s exactly how big the image will on the page, left to itself. In Illustrator, our artboard was 612px ✕ 502px. If I save the SVG to a file, I can use it directly in an tag.

The interesting part here is that you can either press OK and save the file, or press “SVG Code…” and it will open TextEdit (on a Mac anyway) with the SVG code in it. I honestly don’t know much about all this. You can save the file directly from Adobe Illustrator as an SVG file.Īs you save it, you’ll get another dialog for SVG Options. Canvas matters in SVG just like it would in PNG or JPG. Notice the artboard is cropped up right against the edges of the design.

It literally means Scalable Vector Graphics.

SVG is an image format for vector graphics.
