html into canvas code example
Example 1: html5 canvas
I made a library for thr HTML5 canvas.
https://jsfiddle.net/Catking/g0z6o1fb/
Example 2: javascript canvas
#this code creates a circle within a canvas that must be created in HTML
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.beginPath();
ctx.arc(95, 50, 40, 0, 2 * Math.PI);
ctx.stroke();