HTML - CANVAS
Canvas is an HTML5 element intended to delimit an area for dynamic rendering of graphics. All creation and animation work is performed using dynamic programming languages.
The element was originally introduced by Apple Inc. for the Safari browser.
Here is an example of how the CANVAS tag appears in the browser:
.
Here is the HTML code for this CANVAS:
HTML code:
x
<canvas width="400" height="400"></canvas>
Here is the CSS code for this CANVAS:
CSS code:
x
canvas {
background-color: red;
padding: 20px;
}
background-color: red;
padding: 20px;
}
.