Canvas Test
by Roman
HTML
<canvas id="myCanvas" width="400" height="350">
Your browser does not support the canvas element.
</canvas>
JavaScript
var c = document.getElementById("myCanvas");
ctx = c.getContext("2d");
ctx.lineWidth = 5;
ctx.strokeStyle="green";
ctx.strokeRect(5,20,180,75);
ctx.textBaseline = 'top';
ctx.font = '20px Sans-Serif';
ctx.fillStyle = 'green';
ctx.fillText ("All Right !!", 45, 50);