What is a Canvas? What is the default border size of a canvas?
Answers
Answered by
5
Answer:
The values for those attributes, according to the specification, can only be non-negative integers. By default, the browser creates canvas elements with a width of 300 pixels and a height of 150 pixels. You can change the size of a canvas element by specifying the width and height attributes.
Answered by
0
A Canvas is an area of rectangular shape on a HTML page. It is specified with the tag name <canvas>.
A Canvas has a border of size × pixels by default. We require a style attribute to modify the border on the canvas.
#SPJ2
Similar questions