SVG graphics can be embeded in browsers with embed tag.
First the svg graphics file should be created and uploaded on the platform.
An svg file has an svg extension - mygraphics.svg.
After uploading it on the system in other facts the file can be used like this:
<embed height="300" width="300" type="image/svg+xml" src="url-to-svg-file-uploaded-on-the-platfrom"/>
OR
<object data="url-to-svg-file-uploaded-on-the-platfrom" type="image/svg+xml" width="300" height="300">
NOTE: This method works only for firefox, opera, Chrome and other
Dom compatible browsers. Internet explorer does not have a native
support for SVG graphics - it needs additional plugins
For more info on free IE svg plugins see http://xmlgraphics.apache.org/batik/tools/browser.html
For more information about SVG ans supported browsers visit http://www.w3.org/Graphics/SVG/
|