linked linked linkedin whatsapp remove
Feedback

HTML 5 Quiz HTML 5

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>

var context = canvas.getContext();

var context = canvas.getElementById("context");

var context = canvas.getContext("2d");

var context = canvas.getElementById("2d");

Answer:
var context = canvas.getContext("2d");

Note: This Question is unanswered, help us to find answer for this one

Related HTML 5 Questions and Answers:

QUIZACK

Evaluate your skill level in just 10 minutes with QUIZACK smart test system.

Copyright © 2021 Quizack . © 2021 All rights reserved