canvas 2d javascript code example Example: html5 canvas <canvas id="" width="" height=""></canvas> <script> </script>