Tuesday, March 11, 2014

SVG in HTML




SVG stands for Scalable Vector Graphics.
SVG in HTML tutorial:
http://www.w3schools.com/svg/
Example code:
<!DOCTYPE html>
<html>
<body>
<h1> SVG Example</h1>
<svg width="250" height="250">
   <circle cx="100" cy="100" r="80" stroke="red" stroke-width="10" fill="green" />
   Sorry, your browser does not support inline SVG.
</svg>
</body>
</html>

Result:


Sorry, your browser does not support inline SVG.

No comments:

Post a Comment