<!doctype HTML> <html> <body> <canvas id="c" width="10000" height="10000"></canvas> <script> var ctx = document.getElementById("c").getContext("2d"); ctx.fillText("Hello world!", 50, 50); </script> </body> </html>