1. <a onclick="doClose()">Window Close</a><br> 2. <a href="#" onclick="doClose()">Window Close</a><br> 3. <a href="javascript:doClose()">Window Close</a>