锚点链接: 在目标位置添加一个ID属性; 在之后的链接a中设置href为#id
<h1 id="target">目标</h3> <a href="#target"> </a>
点击a即可实现跳转
优点: 可以用动画实现缓慢跳转