<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
svg circle{
stroke:red;
stroke-width:3;
fill:green;
}
</style>
</head>
<body>
<svg height="100" width="100">
<script>
<![CDATA[
function myFunction() {
alert("You clicked");
}
]]>
</script>
<circle cx="50" cy="50" r="40" onclick="myFunction()"/>
</svg>
<p><strong>Note</strong>: Try to click on the circle.</p> </body>
</html>