HTML5

Hello World


function body_loaded {       var canvas = document.getElementById("main_canvas"); var cxt   = canvas.getContext("2d"); cxt.beginPath; cxt.moveTo( 0, 0 ); cxt.lineTo( 10, 10 ); cxt.stroke; }

 