blob: b7638553796cd9a6532402940e7b785c12773d62 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<canvas width="200" height="200"></canvas>
<script>
var canvas = document.querySelector("canvas");
var context = canvas.getContext("2d");
context.fillStyle = "red";
context.fillRect(0, 0, 200, 200);
</script>
</body>
</html>