zig.com Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>HTML5 Canvas strokeText()</h1>
<canvas id="myCanvas" width="300" height="150" style="border:1px solid grey;">
Sorry, your browser does not support canvas.
</canvas>
<script>
  const canvas = document.getElementById("myCanvas");
  const ctx = canvas.getContext("2d");
  ctx.font = "50px Arial";
  ctx.strokeText("Hello World", 10, 80);
</script>
</body>
<!-- /graphics/tryit.asp?filename=trycanvas_stroketext by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 06 Feb 2025 18:35:31 GMT -->
</html>