The ultimate SVG guide

Get free updates of new articles, interviews & roundups here, or subscribe to our RSS feed.

SVG

Do you want to add the infographic to your website? Copy and paste the code below:

<div style="text-align: center;"> <a title="The ultimate SVG guide" href="https://psdtowp.net/svg.html" target="_blank"> <img style="height:100%;width:auto;border:none;margin:0 auto;" alt="The ultimate SVG guide" src="https://psdtowp.net/images/svg.jpg" /> </a> <br> Source: <a href="https://psdtowp.net/svg.html" alt="The ultimate SVG guide" target="_blank"><b>The ultimate SVG guide</b></a> </div>

Use SVG's on your website

Scalable vector graphics, abbreviated as SVG, are web-based image formats which are used for vector-based-graphics whereby animations and interactivity are supported. SVG defines the graphics in XML format and when SVG's are zoomed, enlarged or scaled down the quality won’t be affected.

Why use SVG

SVG's have quite some benefits compared to normal images and canvas-based displays. SVG's aren’t often used by developers because they simply don’t know about SVG's or because they seem to be too complicated. Find below a clear overview of the various SVG benefits:

  • Editable

    Each and every element and attribute in SVG's can be edited and animated by means of your favorite editor.

  • Scalable

    SVG's can be zoomed, enlarged or scaled down unlimitedly whereby the quality will always remain (with the exception of extremely small).

  • SEO

    Search engines index and cache SVG files . Therefore search engines can be used to search for SVG files.

  • Perfect Display

    You can make SVG's interactive and make use of filters, gradients and other formats to ensure the image is always properly displayed.

  • Retina

    Big or small, with SVG you will never see pixels. This makes SVG perfect for retina screens.

  • Loading time

    When SVG's aren’t too complex the file size will be relatively small and easy to compress.

  • Fallback

    When SVG's aren’t supported by a browser or other device, there are various ways to create a fallback.

  • Recommended by the W3C

    The W3C advices the use of SVG and SVG easily integrate with other W3C standards like DOM and XLS.

Where to use SVG's on websites

SVG's are ideal when a website is filled with images, background-images, logos, icons, patterns and basic shapes. SVG's are the perfect replacement for currently used jpg, png or gif images.

SVG browser compatibility

All modern browsers support the use of SVG's. Only the older Internet Explorer versions (IE8 or lower) and the older Android (2.3 and lower) do not support SVG.

Create and edit SVG

SVG's sometimes look very complicated and editing SVG's is a task that is preferably avoided. Luckily enough some developers have developed tools and applications which have totally removed manual SVG editing. Find below the most commonly used applications and tools to create and edit SVG files. Take into account though some of the applications and tools might create an extra output (for example meta-data) during SVG creation or editing. This output needs to be removed to keep the SVG as small and as fast as possible.

Used SVG files on your website

When you are planning to use SVG files on your website, one should always question whether SVG file editing afterwards will still be required (with CSS or JavaScript) or if you would just want the SVG files to be displayed on your website without future editing requirements.

Infographic links

  1. The W3 SVG standard
  2. Inkscape
  3. Adobe Illustrator
  4. Sketch
  5. Raphaël
  6. Iconizr
  7. D3.js
Scroll To Top