Science, asked by madhurajendra8779, 1 year ago

What is a Canvas? What is the default border size of a canvas?

Answers

Answered by jashanbajwa61
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 shreta4567
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 300×150 pixels by default. We require a style attribute to modify the border on the canvas.

#SPJ2

Similar questions