Assuming that some text needs to be written on an HTML5 canvas, select a replacement for the commented line below:
<canvas height="200" id="e" width="200"></canvas>
<script>
var canvas = document.getElementById("e");
//insert code here
context.fillStyle = "blue";
context.font = "bold 16px Arial";
context.fillText("Zibri", 100, 100);
</script>
Correct Answer: var context = canvas.getContext("2d");
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More HTML 5 MCQ Questions