<!DOCTYPE html>
<html lang="en">
<head runat="server">
<title></title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"//>
<script type="text/javascript">
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
var grd = ctx.createLinearGradient(0, 0, 175, 50);
grd.addColorStop(0, "#FF0000");
grd.addColorStop(1, "#00FF00");
ctx.fillStyle = grd;
ctx.fillRect(0, 0, 175, 50);
</script>
</head>
<body>
<form id="form1" runat="server">
<canvas id="myCanvas" width="200" height="100"
style="border:1px solid #000000;">
</canvas>
</form>
</body>
</html>
what else I need to do in this? I'm using 2010 where I install SP1.HTML5 intellisense is coming on page but not in JS.