Join Examsbook
729 0

Q: What is the purpose of canvas in HTML?

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Canvas is an element that is used for the graphics for the web page. It uses JavaScript to bring the graphics functionality live. It allows easy way to draw the graphics and use different types of tools to create drawing on the web page. Canvas is just a rectangular area that controls the pixel of every element that is used in the web page. Canvas uses methods like paths, circles, etc. The canvas element will be used as follows: The canvas element includes id, width and height settings and with the javascript it gets used like:

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully