Tag used for a graphic drawing using javascript - HTML

Q.  Where is the tag <canvas> used in an HTML page?
- Published on 27 Aug 15

a. For adding images
b. For a graphic drawing using SVG
c. For a graphic drawing using javascript
d. None of the above

ANSWER: For a graphic drawing using javascript
 

    Discussion

  • Nirja Shah   -Posted on 06 Nov 15
    - The canvas element is used to draw graphics on a web page.

    - It draws the graphics via scripting that is Javascript.

    - Canvas has several methods for drawing.

    - It is a rectangular area on the HTML page.

    - This element is only a container for graphics.

Post your comment / Share knowledge


Enter the code shown above:

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