Difference between revisions of "Canvas Element"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<html> <canvas id="myCanvas"></canvas> <script> var canvas=document.getElementById('myCanvas'); var ctx=canvas.getContext('2d'); ctx.fillStyle='#00FF00'; ctx.fillRect(0,0,90,...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<html>
 
<html>
<canvas id="myCanvas"></canvas>
+
<canvas id="myCanvas">
 +
<p>There is a green box on the screen.</p>
 +
</canvas>
  
 
<script>
 
<script>
Line 9: Line 11:
 
</script>
 
</script>
 
</html>
 
</html>
 +
==Test results for canvus-==
 +
All screen readers and browsers tested announced that there is a green box on the screen.  this is the text that is in the paragraph inside of the canvus.
 
[[Category:HTML5]]
 
[[Category:HTML5]]
 
[[Category:Elements]]
 
[[Category:Elements]]

Latest revision as of 18:27, 29 April 2015

There is a green box on the screen.

Test results for canvus-

All screen readers and browsers tested announced that there is a green box on the screen. this is the text that is in the paragraph inside of the canvus.