You can do this in two ways. SVGs can be embedded directly into an HTML document or brought in via CSS much like traditional jpg or png files. SVG can be easily embedded into HTML using SVG tags.
You can serve your web pages up as applicationxhtmlxml which works with Chrome Firefox Safari Opera and various other browsers but not IE as shown in Example 3.
SVG can be easily embedded into HTML using SVG tags. Simply embed the SVG directly into the web page using the SVG element. SVG stands for Scalable Vector Graphics. And examples are constantly reviewed to avoid errors but we cannot warrant full correctness of all content.