Canvas - Features,Properties - HTML

Q.  Which of the following statement is / are true about a canvas?
- Published on 27 Aug 15

a. It is a rectangular area on an HTML page
b. By default it does have no borders and content
c. Always specify the height and the width to define the size
d. All of the above

ANSWER: All of the above
 

    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.)