HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <canvas width="110" height="110" id="point">Your browser does not support the canvas element. </canvas> <script> var canvas = document.getElementById('point'); var ctx = canvas.getContext('2d'); ctx.beginPath(); ctx.moveTo(5, 5); ctx.lineTo(5, 100); ctx.lineTo(105, 100); ctx.closePath(); ctx.stroke(); </script> </body> </html>
OUTPUT
×

Save as Private