size html code example Example: width html <canvas id="myCanvas" width="200" height="200" style="border:1px solid">