Content here<\/em>\n<\/canvas><\/pre>\nYou can define canvas size via the width and height attribute; an element ID can also be defined in the tag, which makes it possible to use CSS Styles on the canvas element. Following is an example of how you can draw a rectangle using the Canvas element:<\/p>\n
Code:<\/strong><\/p>\n\n\n