HTML5 introduced very special element knon as SVG element which is stands for scalable vector graphics. HTML5 SVG Tag is basically designed to create vector graphics in XML format like 2D, charts etc. It is the recommendation of W3C. The <svg> element is used as ccontainer for SVG graphics.
All most all the web browsers support SVG just like any image format like PNG, GIF, and JPG. SVG element provides several built in methods for drawing paths, rectangle, circles, text, and graphic images. Internet Explorer users may have to install the Adobe SVG Viewer to be able to view SVG in the browser.
Syntax
Almost all latest browsers like Safari, Google Chrome, Mozilla Firefox, Opera, Internet Explorer 9.0 support many HTML5 features and functionalities. The good thing is that now many mobiles web browsers like iPhones, iPads, and Android phones all have excellent support for HTML5.
Example
This will produce following result
Example
This will produce following result
Example
This will produce following result
Example
This will produce following result
Example
This will produce following result