--- layout: single elementName: canvas ---

# canvas

Defines an element where you can draw graphics.

Example: Copy

{% highlight html %} Fallback text for non-supported browsers {% endhighlight %}

height

Defines the height of the canvas.

"50"

Default is 150.

width

Defines the width of the canvas.

"200"

Default is 100.