Get to know the Canvas element

What is Canvas?

HTML5 <canvas> element is used for drawing graphics, which is done through scripts (usually JavaScript).

<canvas> tag is just a graphics container, You must use a script to draw the graph.

You can use Canva to draw paths, boxes, circles, characters and add images in a variety of ways.

Canvas is a canvas that can be used to draw any lines, graphics, fills and a series of operations, and the drawing operation is js, so js programming is like taking drugs. In addition, Canvas not only provides simple two-dimensional vector drawing, but also provides a series of API support such as three-dimensional drawing and image processing.

Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the <canvas> element.

Note: Internet Explorer 8 and earlier IE The version of the browser does not support the <canvas> element.

Continuing Learning
||
<article> <header> <hgroup> <h1>这是一篇介绍HTML 5结构标签的文章</h1> <h2>HTML 5的革新</h2> </hgroup> <time datetime="2011-03-20">2011.03.20</time> </header> <p>文章内容详情</p> </article>
submitReset Code