1. Computing

Discuss in my forum

<canvas></canvas>

By

canvas Description:

The canvas element is an HTML 5 element that can be used to draw graphics dynamically on the Web page using scripts like JavaScript. You can use the canvas tag to draw graphs, create photo compositions, or even create animations.

The canvas tag is new in HTML 5.

DTD: HTML5: <!doctype html>

canvas Web Browser Support:

Coming soon

canvas Attributes:

Global attributes, event attributes and:
  • height
  • width

canvas End Tag:

required

canvas Contents:

Text to display if the canvas tag isn't supported.

Tags valid as content: Flow elements, Phrasing elements plus character data

canvas Usage:

Tags valid as container: Flow elements, Phrasing elements

canvas Special Notes:

By including text inside the start and end tags, you can alert older browsers that they are not getting the full features of the page. This is something like alternative text for images.

More canvas Information:

©2014 About.com. All rights reserved.