HTML and CSS Reference
In-Depth Information
//box
context
.
strokeStyle
=
"#000000"
;
context
.
strokeRect
(
5
,
5
,
490
,
290
);
}
drawScreen
();
}
<
/script>
</head>
</head>
<body>
<body>
<div
<div style=
"position: absolute; top: 50px; left: 50px;"
>
<canvas
<canvas id=
"canvasOne"
width=
"500"
height=
"300"
>
Your browser does not support HTML5 Canvas.
</canvas>
</canvas>
</div>
</div>
</body>
</body>
</html>
</html>