Canvas is able to draw the 2D graphics using---------------

Options
- XML
- HTML
- Java script
- XHTML


CORRECT ANSWER : Java script

Discussion Board
Java script

The HTML <canvas> element is used to draw graphics using JavaScript.
The <canvas> element is only a container for graphics.


Sapna 02-24-2017 06:42 AM

Explanation.

A canvas is a rectangle in your page where you can use JavaScript to draw anything you want.
The HTML "canvas" element can be used to draw graphics via scripting in JavaScript.

Jayesh Sonar 02-27-2015 02:10 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement