html basic canvas code example
Example 1: javascript create canvas
var canvas = document.createElement("canvas"); //Create canvas
document.body.appendChild(canvas); //Add it as a child of <body>
Example 2: html5 canvas
<canvas id="" width="" height=""></canvas>
<script>
</script>