Website Developer Question:

Download Job Interview Questions and Answers PDF

Tell me what Is A Canvas? And What Is Its Default Border Size?

Website Developer Interview Question
Website Developer Interview Question

Answer:

Canvas is an HTML5 element which can draw graphics on the fly with the help of JavaScript. The <canvas> element can only contain graphics. It supports a no. of methods for drawing paths, boxes, circles, text, and images.

By default, It has no border. However, it allows using CSS to change the border style.

Download Website Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know table-less XHTML? Do you validate your code?Tell me what Are Transitions In CSS3?