Home > front end >  IE11 does not support the <canvas>?
IE11 does not support the <canvas>?

Time:09-27

Browse a blank in IE11;
<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>
  • Related