<body class="main"> <title>Drawing with mouse events</title> <input type="button" id="clearButton" value="Clear canvas"> <canvas style="border: 1px solid black;" width="720" height="480" id="canvas"></canvas> <script type="text/javascript" src="draw.js"></script> </body>