STIC:Atelier graphisme, animation, interactivité et HTML5/Green circle dans une page HTML5
Aller à la navigation
Aller à la recherche
<!DOCTYPE html>
<html>
<head>
<title>HTML5 SVG demo</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
<h1>HTML5 SVG Demo</h1>
<p> A nice green circle:</p>
<svg id="circle" height="100" xmlns="http://www.w3.org/2000/svg">
<circle id="greencircle" cx="30" cy="30" r="30" fill="green" />
</svg>
</body>
</html>
Résultat:
<html> <svg id="circle" height="100" xmlns="http://www.w3.org/2000/svg"> <circle id="greencircle" cx="30" cy="30" r="30" fill="green" /> </svg> </html>