1、<a href="#"></a>——点击链接后,页面会向上滚到页首,# 默认锚点为 #TOP
2、<a href="javascript:void(0)" onClick="window.open()"> 点击链接后,页面不动,只打开链接
3、打开窗口链接的几种方式
3.1 window.open("url"); 详见:\
3.2 window.location.href="url"; 详见:
3.3 自定义函数
3.4 <a href="url" target="_blank|_parent|_self|_top"></a>——详见:
3.5 <link rel="stylesheet" type="text/css" href="theme.css"/> ——链接外部资源
3.6 <nav></nav>——定义导航链接的部分,html5