<!DOCTYPE html> <html> <body> <canvas id="c" width="5000" height="20000"> </canvas> <script> var ctxt = document.getElementById('c').getContext('2d'); ctxt.strokeStyle = "Red"; ctxt.font = "bold 16px Arial"; ctxt.strokeText('Hello World!', 100, 100); </script> </body> </html>