<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Your Canvas</title>

<style type="text/css"><!--
#container { position: relative; }
#imageTemp { position: absolute; top: 1px; left: 1px; }
--></style>

</head>
<body>
<canvas id="imageView" width="600" height="500"></canvas>

<script type="text/javascript">
var canvas, context, canvaso, contexto;
canvaso = document.getElementById('imageView');
context = canvaso.getContext('2d');
context.lineWidth = 5;

context.lineWidth = 4;

context.lineWidth = 3;

context.lineWidth = 2;

context.lineWidth = 1;

context.strokeStyle = '#000000';
context.strokeRect(254, 95, 14, 14);

context.lineWidth = 2;

context.lineWidth = 3;

context.lineWidth = 4;

context.lineWidth = 5;

context.lineWidth = 4;

context.lineWidth = 3;

context.strokeStyle = '#FF0800';
context.beginPath();
context.moveTo(267, 94);
context.lineTo(267, 110);
context.stroke();
context.closePath();

context.strokeStyle = '#FF0800';
context.beginPath();
context.moveTo(267, 108);
context.lineTo(254, 108);
context.stroke();
context.closePath();

context.strokeStyle = '#470FFF';
context.beginPath();
context.moveTo(267, 95);

context.lineTo(267, 95);
context.stroke();

context.strokeStyle = '#470FFF';
context.beginPath();
context.moveTo(267, 94);
context.lineTo(253, 94);
context.stroke();
context.closePath();

context.strokeStyle = '#470FFF';
context.beginPath();
context.moveTo(254, 93);
context.lineTo(254, 109);
context.stroke();
context.closePath();
</script>
</body>
</html>