<body & gt;
<script>
The function the draw () {
Var canvas=document. GetElementById (" myCanvas ")
Var CTX=canvas. GetContext (' 2 d ');
CTX. FillStyle="RGB (0,0,200)"
,0,100,100 CTX. FileRect (0);
}
Window. The onl oad=function ()
{
The draw ()
}
</script>