The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »

HTML5 - SVG Circle


Following is the HTML5 version of an SVG example which would draw a cricle using <circle> tag:

<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Circle</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<circle id="redcircle" cx="50" cy="50" r="50" fill="red" />
</svg>
</body>
</html>

HTML5 SVG Circle


This would produce following result in HTML5 enabled latest version of Firefox.
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com