div加链接
方法一
<div style="background:blue;width:200px;height:30px;" onmouseover="this.style.cursor='pointer'" onClick="document.location='http://www.baidu.com'" ></div>
方法二
<div onClick="window.location.href='http://www.baidu.com'" style="background:blue;width:160px; height:120;cursor:hand ;"></div>