XML : SVG images formatting

I needed to create a simple arrow for a slideshow, so I went through the W3 tutorial and came up with a simple SVG image:

  <svg width="25" height="60">    <polyline points="3,3 22,30 3,57" style="fill:none;stroke:black;stroke-width:3;stroke-linecap:round"></polyline>  </svg>    

However, on some websites I see that they use some additional references (example from the kickstarter homepage):

  <svg ... version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">    

Are those references to w3 and version are necessary or redundant to use? Are there any special rules for formatting svg images?

No comments:

Post a Comment